Skip to content

Commit

Permalink
Merged branch develop (release 0.1.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcantondahmen committed Apr 26, 2021
2 parents 143c492 + 5f3aecb commit 2e884fe
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,11 @@
read -p "Tag: " tag

sed -i "s|REVITRON_VERSION.*|REVITRON_VERSION = '$tag'|g" "./revitron/__init__.py"
sed -i "s|Version.*|Version $tag|g" "./docs/source/index.rst"
sed -i "s|Version.*|Version $tag|g" "./docs/source/index.rst"

git add -A && git commit -m "Prepared release $tag"
git checkout master
git merge develop --no-ff -m "Merged branch develop (release $tag)"
git tag -a -m "Release $tag" $tag
git checkout develop
git log -n 2 --graph --all

0 comments on commit 2e884fe

Please sign in to comment.