Ignore android-* tags when using git describe
This commit is contained in:
1 parent
1aa68a78f8
commit
4ae9b482f2
3 files changed
+3
-3
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user