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]>
  • Loading branch information
misanthropos authored Jul 27, 2024
1 parent d7ed2df commit e9acd52
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 e9acd52

Please sign in to comment.