gitflow/bump-version
2010-01-26 12:25:16 +01:00

13 lines
233 B
Bash
Executable file

#!/bin/sh
usage() {
echo "usage: bump-version <version-id>"
}
if [ $# -ne 1 ]; then
usage
exit 1
fi
echo "GITFLOW_VERSION=$1" > gitflow-version
git add gitflow-version
git commit -m "Bumped version number to $1" gitflow-version