Skip to content

Commit b13a0b6

Browse files
jiceathomejuagargi
authored andcommitted
build: make git-version not fail if no tags exist (scionproto#4438)
--always, will substitute an abbreviated commit hash if there's no tag in sight. Better than failing with a cryptic message.
1 parent a12943a commit b13a0b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/git-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
# Small script to determine the git version.
44

5-
exec git describe --tags --dirty
5+
exec git describe --tags --dirty --always

0 commit comments

Comments
 (0)