Skip to content

Commit

Permalink
fix deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulh committed Jan 26, 2024
1 parent d43cd6f commit 02a3111
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build_release_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ jobs:

- name: Deploy
run: bash scripts/macos/deploy.sh
env:
UPLOAD_KEY: ${{ secrets.UPLOAD_KEY }}
7 changes: 3 additions & 4 deletions scripts/macos/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,12 @@ if [ "$?" -ne "0" ]; then
fi

#Call fix to change all rpath
wget_retry https://raw.githubusercontent.com/aurelien-rainone/macdeployqtfix/master/macdeployqtfix.py

python macdeployqtfix.py build/$APP.app/Contents/MacOS/calaos_installer /usr/local/Cellar/qt5/5.*/
python macdeployqtfix.py build/$APP.app/Contents/MacOS/calaos_machinecreator /usr/local/Cellar/qt5/5.*/
python3 ./scripts/macos/macdeployqtfix.py build/$APP.app/Contents/MacOS/calaos_installer /usr/local/Cellar/qt5/5.*/
python3 ./scripts/macos/macdeployqtfix.py build/$APP.app/Contents/MacOS/calaos_machinecreator /usr/local/Cellar/qt5/5.*/

#install appdmg https://github.com/LinusU/node-appdmg a tool to create awesome dmg !
npm install -g appdmg
appdmg macos/appdmg.json build/$APP-$VERSION.dmg

#upload_file build/$APP-$VERSION.dmg $(shasum -a 256 build/$APP-$VERSION.dmg | cut -d' ' -f1) "experimental/calaos_installer/osx"
upload_file build/$APP-$VERSION.dmg $(shasum -a 256 build/$APP-$VERSION.dmg | cut -d' ' -f1) "experimental/calaos_installer/osx"
2 changes: 1 addition & 1 deletion scripts/macos/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -ev
echo "install.sh"

brew update > /dev/null
brew install qt6 cmake pkg-config xz zstd
brew install qt6 cmake pkg-config xz zstd

#get extra-cmake-modules and build it
git clone https://invent.kde.org/frameworks/extra-cmake-modules.git
Expand Down

0 comments on commit 02a3111

Please sign in to comment.