From 986f5ef571d40cc76e28f653c83ee2a2e8b5bb0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Galv=C3=A3o?= Date: Fri, 25 Jun 2021 15:19:44 +0100 Subject: [PATCH] compileOSX.sh: add version to app --- compileOSX.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/compileOSX.sh b/compileOSX.sh index e28f47eb..f9cc029e 100755 --- a/compileOSX.sh +++ b/compileOSX.sh @@ -62,6 +62,11 @@ cp -R release/languages YACReader.app/Contents/MacOS/ cp -R release/languages YACReaderLibrary.app/Contents/MacOS/ cp -R release/languages YACReaderLibraryServer.app/Contents/MacOS/ +/usr/libexec/PlistBuddy -c "Add :CFBundleVersion string ${BUILD_NUMBER}" YACReader.app/Contents/Info.plist +/usr/libexec/PlistBuddy -c "Add :CFBundleShortVersionString string ${VERSION}" YACReader.app/Contents/Info.plist +/usr/libexec/PlistBuddy -c "Add :CFBundleVersion string ${BUILD_NUMBER}" YACReaderLibrary.app/Contents/Info.plist +/usr/libexec/PlistBuddy -c "Add :CFBundleShortVersionString string ${VERSION}" YACReaderLibrary.app/Contents/Info.plist + if [ "$SKIP_CODESIGN" = false ]; then ./signapps.sh fi