blob: 60eac0d89c6ccd71db9db98441c37c82caa32a9c [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
11echo "GITFLOW_VERSION=$1" > gitflow-version
Vincent Driessencaa58302010-01-26 12:20:58 +010012git add gitflow-version
13git commit -m "Bumped version number to $1" gitflow-version