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)

Signed-off-by: Richard Fröhning <[email protected]>
(cherry picked from commit e9acd52)
Signed-off-by: Grische <[email protected]>
  • Loading branch information
misanthropos authored and grische committed Oct 28, 2024
1 parent 831e669 commit 26fbc17
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 26fbc17

Please sign in to comment.