Skip to content

Commit

Permalink
Update release script to create nicer commit message.
Browse files Browse the repository at this point in the history
  • Loading branch information
mg6maciej committed Jan 6, 2015
1 parent 3ff8b7c commit e232e62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RELEASE.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# USAGE: release 1.1.1
# USAGE: ./RELEASE.sh 1.1.1

DIR=$(dirname $0)
VERSION=$1
Expand All @@ -9,7 +9,7 @@ git checkout develop -b release/$VERSION

sed -i -e "s/Version: .*/Version: $VERSION/" $DIR/README.md

git commit -a -m "version $VERSION"
git commit -a -m "Update version in README to $VERSION."
git checkout master
git merge --no-ff release/$VERSION
git tag v$VERSION
Expand Down

0 comments on commit e232e62

Please sign in to comment.