Skip to content

Commit

Permalink
Since releases are tagged nowadays, getversion.sh should reflect it
Browse files Browse the repository at this point in the history
by using git describe with --tags flag.

Signed-off-by: Richard Fröhning <[email protected]>
  • Loading branch information
misanthropos committed Jul 8, 2024
1 parent 7df8c62 commit 98cf233
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 98cf233

Please sign in to comment.