Skip to content

Commit

Permalink
build: make git-version not fail if no tags exist (#4438)
Browse files Browse the repository at this point in the history
--always, will substitute an abbreviated commit hash if there's no tag in sight. Better than failing with a cryptic message.
  • Loading branch information
jiceatscion authored Nov 13, 2023
1 parent cab6ce3 commit 3beb210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/git-version
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

# Small script to determine the git version.

exec git describe --tags --dirty
exec git describe --tags --dirty --always

0 comments on commit 3beb210

Please sign in to comment.