Add an azure pipelines job to compile the macos version with qt6

This commit is contained in:
Luis Ángel San Martín Rodríguez
2022-09-10 11:05:29 +02:00
committed by Luis Ángel San Martín
parent 52fe8683bb
commit 894ba18ffd
2 changed files with 52 additions and 3 deletions

View File

@ -1,12 +1,14 @@
#! /bin/bash
set -e
VERSION=${1:-"9.5.0"}
VERSION=${1:-"9.9.1"}
BUILD_NUMBER=${2:-"0"}
SKIP_CODESIGN=${3:-false}
QT_VERSION=${4:-""}
if [ "$4" == "clean" ]; then
./cleanOSX.sh
fi
@ -74,7 +76,7 @@ fi
echo "Preparing apps for release, Done."
echo "Copying to destination folder"
dest="YACReader-$VERSION.$BUILD_NUMBER MacOSX-Intel"
dest="YACReader-$VERSION.$BUILD_NUMBER MacOSX-Intel$QT_VERSION"
mkdir -p "$dest"
cp -R YACReader.app "${dest}/YACReader.app"
cp -R YACReaderLibrary.app "${dest}/YACReaderLibrary.app"