Skip to content

Commit

Permalink
build: fixes gen_version.sh to just look at latest tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
atombender committed Oct 3, 2022
1 parent 1e85f41 commit 920a796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gen_version.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

v=$(git tag --contains HEAD)
v=$(git tag -l | tail -n1)
if [ "$v" = "" ]; then
echo "Cannot determine tag." >&2
exit 1
Expand Down

0 comments on commit 920a796

Please sign in to comment.