Commit 463dd443 authored by Vincent Driessen's avatar Vincent Driessen

Add static shell variable that specifies the gitflow release version.

parent 403fdca3
......@@ -12,9 +12,15 @@
# Copyright (c) 2010 by Vincent Driessen
#
export GITFLOW_DIR=$(dirname "$0")
usage() {
. "$GITFLOW_DIR/gitflow-version"
echo "gitflow, version $GITFLOW_VERSION"
echo ""
echo "usage: gitflow <start|finish> <type> <args>"
echo ""
echo "arguments:"
echo "type can be any of: \"feature\", \"release\", \"hotfix\""
echo ""
}
......@@ -37,7 +43,6 @@ if [ $# -lt 2 ]; then
fi
# Set & check arguments
export GITFLOW_DIR=$(dirname "$0")
ACTION="$1"
BTYPE="$2"
shift 2
......
GITFLOW_VERSION=0.0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment