summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-07-29 17:51:12 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-07-29 17:51:12 +0200
commit6d2916e324213f66b036d585f214161ece2d1b56 (patch)
tree0d375b6a26d208b5c6b18b7a31debe46d874406d
parent5526c432c74c4196de724d2da7a43b186eb249b0 (diff)
build: tag: add 'v' prefix for tag name
We need to add a 'v' prefix to the actual version for the tag name. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
-rw-r--r--Cmds2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cmds b/Cmds
index d51f8f2..b544dae 100644
--- a/Cmds
+++ b/Cmds
@@ -34,7 +34,7 @@ GZIP = gzip --best -c
# Git related
GIT_ARCHIVE = git archive --prefix=netsniff-ng-$(VERSION_SHORT)/ v$(VERSION_SHORT) | \
$(1) > ../netsniff-ng-$(VERSION_SHORT).tar.$(2)
-GIT_TAG = git tag -a $(VERSION_SHORT) -s -m "$(VERSION_SHORT) release"
+GIT_TAG = git tag -a v$(VERSION_SHORT) -s -m "$(VERSION_SHORT) release"
GIT_LOG = git shortlog -n --not $(shell git describe --always --abbrev=0 --tags)
GIT_REM = git ls-files -o | xargs rm -rf
GIT_PEOPLE = git log --no-merges $(VERSION_SHORT)..HEAD | grep Author: | cut -d: -f2 | \