update release filename as well to match older versions

This commit is contained in:
renaud gaudin 2024-05-08 09:14:39 +00:00
parent 9367c22171
commit 14941e56b8
No known key found for this signature in database
GPG Key ID: 447475A4CFBA2E24

View File

@ -14,7 +14,7 @@ on:
- cron: '32 1 * * *' # NIGHTLY @ 01:32
- cron: '00 2 * * 1' # WEEKLY @ 02:00 on Monday
push:
tags:
tags:
- testflight** # TestFlight Tag
release:
types: [published] # Post App Release
@ -33,7 +33,7 @@ env:
VERSION: ""
SIGNING_CERTIFICATE: ""
SIGNING_CERTIFICATE_P12_PASSWORD: ""
jobs:
build_and_deploy:
strategy:
@ -199,7 +199,7 @@ jobs:
- name: Create and Notarize DMG
if: matrix.platform == 'macOS' && env.UPLOAD_TO == 'ftp'
run: |
run: |
pip install dmgbuild
dmgbuild -s .github/dmg-settings.py -Dapp=$PWD/export/Kiwix.app -Dbg=.github/dmg-bg.png "Kiwix-$VERSION" $PWD/kiwix-$VERSION.dmg
xcrun notarytool submit --keychain $KEYCHAIN --keychain-profile $KEYCHAIN_PROFILE --wait $PWD/kiwix-$VERSION.dmg
@ -214,7 +214,9 @@ jobs:
- name: Upload DMG
if: env.UPLOAD_TO == 'ftp' && matrix.platform == 'macOS'
run: |
mv ${PWD}/kiwix-${VERSION}.dmg ${PWD}/kiwix-desktop-macos_${VERSION}.dmg
python .github/upload_file.py --src ${PWD}/kiwix-${VERSION}.dmg --dest ci@master.download.kiwix.org:30022/data/download/${UPLOAD_FOLDER} --ssh-key ${SSH_KEY}
mv ${PWD}/kiwix-desktop-macos_${VERSION}.dmg ${PWD}/kiwix-${VERSION}.dmg
- name: Upload IPA
if: env.UPLOAD_TO == 'ftp' && matrix.platform == 'iOS'