mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
add short git hash to name of devel disk images to get different names for devel versions without manual intervention
This commit is contained in:
parent
689e54f34a
commit
b69fed3610
@ -303,6 +303,11 @@ if [ -z "${LyXVersion}" ]; then
|
||||
LyXVersion=$(grep AC_INIT "${LyxSourceDir}"/configure.ac | cut -d, -f2 | tr -d " ()")
|
||||
fi
|
||||
LyXVersionSuffix=${LyXVersionSuffix:-$(echo "${LyXVersion}" | cut -d. -f1-2)}
|
||||
case "${LyXVersion}" in
|
||||
*dev*)
|
||||
LyXGitCommitHash=$(cd "${LyxSourceDir}" ; git log -1 --pretty=format:%h)
|
||||
;;
|
||||
esac
|
||||
|
||||
LyxName="LyX"
|
||||
LyxBase="${LyxName}-${LyXVersion}"
|
||||
@ -333,7 +338,7 @@ case "${QtVersion}" in
|
||||
;;
|
||||
esac
|
||||
|
||||
DMGNAME="${LyxBase}"
|
||||
DMGNAME="${LyxBase}${LyXGitCommitHash:+-}${LyXGitCommitHash}"
|
||||
DMGSIZE="550m"
|
||||
|
||||
# Check for existing SDKs
|
||||
|
Loading…
Reference in New Issue
Block a user