Skip to content

Commit

Permalink
Next try
Browse files Browse the repository at this point in the history
  • Loading branch information
leuat committed Jan 1, 2025
1 parent ebcc8a1 commit 553fceb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/macx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

- run: qmake TRSE.pro
- run: make -j 4 arch=arm64
- run: cd Publish/publish_mac && ./publish_mac.sh nightly

- name: Codesign executable
env:
DEVELOPER_ID: ${{ secrets.DEVELOPER_ID }}
Expand All @@ -53,8 +53,9 @@ jobs:
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k hurra build.keychain
security default-keychain -s build.keychain
security find-identity -v
/usr/bin/codesign --force -s "$DEVELOPER_ID" Publish/publish_mac/trse/trse.app -v
#/usr/bin/codesign --force -s "$DEVELOPER_ID" Publish/publish_mac/trse/trse.app -v
- run: cd Publish/publish_mac && ./publish_mac.sh nightly
- uses: ColinPitrat/update-release@master
with:
release: nightly
Expand Down
6 changes: 3 additions & 3 deletions Publish/publish_mac/publish_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if [ "$1" = "nightly" ]
then
cp -r ../../trse.app trse/
else
cp -r ../../Release/trse.app trse/
cp -r ../../Release/trse.app trse/
fi

cp -r Contents trse/trse.app
Expand All @@ -19,10 +19,10 @@ cp -r ../project_templates trse/trse.app/
cd trse/trse.app
if [ "$1" = "nightly" ]
then
macdeployqt .
macdeployqt . -codesign="Developer ID Application: Nicolaas Groeneboom (F3JQNS6U34)"
else
rm *.ini
~/Qt/6.6.1/macos/bin/macdeployqt .
~/Qt/6.7.2/macos/bin/macdeployqt . -codesign="Developer ID Application: Nicolaas Groeneboom (F3JQNS6U34)"
fi
cd ../../

Expand Down

0 comments on commit 553fceb

Please sign in to comment.