commit | b22a076431b711b558502f7f37eb54281aabd01d | [log] [tgz] |
---|---|---|
author | Benedikt Böhm <bb@xnull.de> | 周四 1月 28 01:07:06 2010 +0800 |
committer | Vincent Driessen <vincent@datafox.nl> | 周四 1月 28 05:18:23 2010 +0800 |
tree | 2925dd3f69f092854bda60f3c169261504c34f23 | |
parent | c51aedf8d0b2cd2c186fc44e2f532c361becb4b2 [diff] [blame] |
make version tag prefix configurable so one can use it for github semver.org compliance
diff --git a/git-flow-support b/git-flow-support index 61e19a7..d855eaa 100644 --- a/git-flow-support +++ b/git-flow-support
@@ -17,8 +17,9 @@ } parse_args() { + VERSION_PREFIX=$(git config --get gitflow.prefix.versiontag) VERSION="$1" - BASE="${2:-${VERSION}}" + BASE="${2:-${VERSION_PREFIX}${VERSION}}" if [ "$VERSION" = "" ]; then echo "Missing argument <version>." usage