Skip to content

Commit

Permalink
fix: allow lightweight tags to determine version
Browse files Browse the repository at this point in the history
  • Loading branch information
rebornplusplus committed Aug 3, 2023
1 parent 2d95834 commit c272db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/mkversion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ if [ -z "$v" ]; then
if command -v git >/dev/null; then
# not using "--dirty" here until the following bug is fixed:
# https://bugs.launchpad.net/snapcraft/+bug/1662388
v="$(git describe --always | sed -e 's/-/+git/;y/-/./' )"
v="$(git describe --tags --always | sed -e 's/-/+git/;y/-/./' )"
o=git
fi
fi
Expand Down

0 comments on commit c272db4

Please sign in to comment.