Skip to content

Commit

Permalink
chore: Tag the commit in version.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Marwes committed Jul 1, 2018
1 parent 8bff7bd commit 12bc463
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# A script to bump the version number on all Cargo.toml files etc in
# an atomic fashion.

set -ex

if [ "$1" == "" ]; then
echo "Usage: version.sh <new-version-number>"
exit 1
Expand Down Expand Up @@ -32,3 +34,7 @@ perl -p -i -e 's/^gluon *= *"[0-9.]+"/gluon = "'$1'"/' \

perl -p -i -e 's/[0-9][0-9.]+([^#]+)# GLUON/'$1'$1# GLUON/' \
$(ls **/src/lib.rs src/lib.rs)

git add .
git commit -m "Version 0.8.1"
git tag "v${1}"

0 comments on commit 12bc463

Please sign in to comment.