Skip to content

Commit

Permalink
Make bump-version commit the results.
Browse files Browse the repository at this point in the history
Also add tag adding target.
  • Loading branch information
markstory committed May 22, 2014
1 parent 021e84a commit a8e931e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Expand Up @@ -42,3 +42,11 @@ bump-version:
mv VERSION.txt VERSION.old
cat VERSION.old | sed s'/^[0-9]\.[0-9]\.[0-9].*/$(VERSION)/' > VERSION.txt
rm VERSION.old
git add VERSION.txt
git commit -m "Update version number to $(VERSION)"

# Tag a release
tag-release: bump-version
git tag -s $(VERSION) -m "CakePHP $(VERSION)"
git push origin
git push origin --tags

0 comments on commit a8e931e

Please sign in to comment.