Skip to content

Commit

Permalink
update release tool
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensayshi committed Apr 11, 2018
1 parent f0060fd commit 1ff7965
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions tools/create-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,22 @@ read in

if [ "${in}" != "y" ] && [ "${in}" != "Y" ]; then
echo "don't proceed with release"
exit -1
exit 1
fi

exit 0;

# commit the updated version number
git commit -am "release v${TAG}"

# tag the version
git tag v$TAG -s
git tag -s -m "v$TAG" v$TAG

echo "push? (y/N): ";
read in

if [ "${in}" != "y" ] && [ "${in}" != "Y" ]; then
echo "don't push"
exit 1
fi

# push
git push
Expand Down

0 comments on commit 1ff7965

Please sign in to comment.