blob: f8ae3de84a3177999aa664d2df01d0a60fd2ff4e [file] [log] [blame]
Vincent Driessen5cdfc2f2010-01-26 11:55:03 +01001#!/bin/sh
2usage() {
3 echo "usage: bump-version <version-id>"
4}
5
6if [ $# -ne 1 ]; then
7 usage
8 exit 1
9fi
10
Vincent Driessen059e6892010-01-26 15:58:08 +010011echo "GITFLOW_VERSION=$1" > git-flow-version
12git add git-flow-version
13git commit -m "Bumped version number to $1" git-flow-version