Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions mac/autorelease_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,26 @@

# Sets up the environment for autobuild on macOS

# please run this script with the first parameter being the root of the repo
# Please run this script with the first parameter being the root of the repo
if [ -z "${1}" ]; then
echo "Please give the path to the repository root as second parameter to this script!"
exit 1
fi

cd ${1}
cd "${1}"

echo "Install dependencies..."
brew install qt5
brew link qt5 --force
#brew install qt5
#brew link qt5 --force
python3 -m pip install aqtinstall

python3 -m aqt install --outputdir /usr/local/opt/qt 5.12.9 mac desktop
# add the qt binaries to the path

export PATH=/usr/local/opt/qt/5.12.9/clang_64/bin:"${PATH}"

echo "Run deploy script..."
sh ${1}/mac/deploy_mac.sh
sh "${1}"/mac/deploy_mac.sh

# Move the created installer to deploy
cp ${1}/deploy/Jamulus-*installer-mac.dmg ${1}/deploy/Jamulus-installer-mac.dmg
cp "${1}"/deploy/Jamulus-*installer-mac.dmg "${1}"/deploy/Jamulus-installer-mac.dmg