mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-02-26 08:22:31 +00:00
AppImage: fix handling of revision that are tags second try
This commit is contained in:
parent
fc0946db0a
commit
3b9b39163e
@ -87,9 +87,11 @@ QTDIR="${HOME}/opt/qt/${QTVERSION}/gcc_64"
|
||||
NO_GLIBC_VERSION=1
|
||||
|
||||
if [[ ( -d .git ) && ( $RELEASE_VERSION == 0 ) ]]; then
|
||||
# If revision is a tag: release-28.2.0
|
||||
# If it isn't: release-28.1.0-7-g558fbc986
|
||||
VERSION="$(git describe --tags | sed -e 's/release-//')"
|
||||
if [[ $VERSION != *-*-* ]]; then
|
||||
VERSION=${VERSION}-0
|
||||
if [[ $VERSION != *-*-*-* ]]; then
|
||||
VERSION=${VERSION}-0-g0
|
||||
fi
|
||||
NUM=${VERSION%-*}
|
||||
NUM=${NUM##*-}
|
||||
|
Loading…
Reference in New Issue
Block a user