gitflow/bump-version

14 lines
233 B
Text
Raw Normal View History

#!/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