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 authored and jnsgruk committed Aug 10, 2023
1 parent e68310f commit 4e81c83
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 4e81c83

Please sign in to comment.