Ignore android-* tags when using git describe

This commit is contained in:
Tobias Brunner
2021-07-14 10:31:52 +02:00
parent 1aa68a78f8
commit 4ae9b482f2
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ if [ -z "$TARBALL" ]; then
do_on_exit umount $LOOPDIR/root/strongswan
log_action "Determine strongSwan version"
desc=`git -C $SWANDIR describe --dirty`
desc=`git -C $SWANDIR describe --exclude 'android-*' --dirty`
if [ $? -eq 0 ]; then
version="$desc (`git -C $SWANDIR rev-parse --abbrev-ref HEAD`)"
else