macOS release fixes

This commit is contained in:
Dennis Fokin 2022-11-10 11:48:39 +01:00
parent 33b290a78f
commit 0503297d2f
No known key found for this signature in database
GPG Key ID: 870B88256690D8BC
2 changed files with 5 additions and 2 deletions

View File

@ -56,6 +56,7 @@ jobs:
brew install create-dmg
mkdir source_folder
cp -R build/macos/Build/Products/Release/"Yubico Authenticator.app" source_folder
cp resources/icons/dmg-background.png .
sh create-dmg.sh
- name: Rename and archive app bundle
@ -63,7 +64,9 @@ jobs:
export REF=$(echo ${GITHUB_REF} | cut -d '/' -f 3)
mkdir deploy
mv yubioath-desktop.dmg deploy
tar -czf deploy/yubioath-desktop-${REF}.app.tar.gz -C build/macos/Build/Products/Release "Yubico Authenticator.app"
mv build/macos/Build/Products/Release/"Yubico Authenticator.app" deploy
mv create-dmg.sh deploy
mv resources/icons/dmg-background.png deploy
- name: Upload artifact
uses: actions/upload-artifact@v3

View File

@ -1,6 +1,6 @@
create-dmg \
--volname "Yubico Authenticator" \
--background "resources/icons/dmg-background.png" \
--background "dmg-background.png" \
--window-pos 200 120 \
--window-size 800 400 \
--icon-size 100 \