Skip to content

Commit

Permalink
scripts: add --tags to git describe in getversion.sh to include ligh…
Browse files Browse the repository at this point in the history
…tweighted tags (#3310) (#3359)

(cherry picked from commit e9acd52)
  • Loading branch information
grische authored Oct 30, 2024
1 parent 831e669 commit 979e8db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/getversion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ fi
cd "$1" || exit 1

cat .scmversion 2>/dev/null && exit 0
git --git-dir=.git describe --always --abbrev=7 --dirty=+ 2>/dev/null && exit 0
git --git-dir=.git describe --tags --always --abbrev=7 --dirty=+ 2>/dev/null && exit 0

echo unknown

0 comments on commit 979e8db

Please sign in to comment.