updated dmg build script

This commit is contained in:
essej 2022-04-14 16:35:12 -04:00
parent 3ec2202c88
commit 82bfca1198

View File

@ -7,6 +7,7 @@ fi
VERSION=$1 VERSION=$1
MAINNAME="PaulXStretch" MAINNAME="PaulXStretch"
MAINNAMELC="paulxstretch"
rm -f ${MAINNAME}Pkg.dmg rm -f ${MAINNAME}Pkg.dmg
@ -15,7 +16,7 @@ rm -f ${MAINNAME}Pkg.dmg
if dropdmg --config-name=${MAINNAME}Pkg --layout-folder ${MAINNAME}PkgLayout --volume-name="${MAINNAME} v${VERSION}" --APP_VERSION=v${VERSION} --signing-identity=C7AF15C3BCF2AD2E5C102B9DB6502CFAE2C8CF3B ${MAINNAME}Pkg if dropdmg --config-name=${MAINNAME}Pkg --layout-folder ${MAINNAME}PkgLayout --volume-name="${MAINNAME} v${VERSION}" --APP_VERSION=v${VERSION} --signing-identity=C7AF15C3BCF2AD2E5C102B9DB6502CFAE2C8CF3B ${MAINNAME}Pkg
then then
mkdir -p ${VERSION} mkdir -p ${VERSION}
mv -v ${MAINNAME}Pkg.dmg ${VERSION}/${MAINNAME}-${VERSION}-mac.dmg mv -v ${MAINNAME}Pkg.dmg ${VERSION}/${MAINNAMELC}-${VERSION}-mac.dmg
else else
echo "Error making package DMG" echo "Error making package DMG"
exit 2 exit 2