diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-07-13 17:26:10 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-07-13 17:27:18 +0200 |
commit | 7d78f8f57b5446e3ddfbb27cc8e9b48c23c52b45 (patch) | |
tree | 48e25d959e4856baecce8dbbf1db89d5d43a4148 /Makefile | |
parent | eb5cd761fca41197dc35d42ab9e47b453621d3f7 (diff) |
build: use git describe --always
Use git describe --always in the Makefile instead of git describe
as it can fail otherwise.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -159,7 +159,7 @@ GZIP = gzip --best -c GIT_ARCHIVE = git archive --prefix=netsniff-ng-$(VERSION_STRING)/ $(VERSION_STRING) | \ $(1) > ../netsniff-ng-$(VERSION_STRING).tar.$(2) GIT_TAG = git tag -a $(VERSION_STRING) -s -m "tools: $(VERSION_STRING) release" -GIT_LOG = git shortlog -n --not $(shell git describe --abbrev=0 --tags) +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_STRING)..HEAD | grep Author: | cut -d: -f2 | \ cut -d\< -f1 | sort | uniq -c | sort -nr |