mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-24 04:03:03 -04:00
update release filename as well to match older versions
This commit is contained in:
parent
9367c22171
commit
14941e56b8
8
.github/workflows/cd.yml
vendored
8
.github/workflows/cd.yml
vendored
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user