From e52a19ef1b1b92caaf47e1658412a93ad69cecee Mon Sep 17 00:00:00 2001 From: renaud gaudin Date: Mon, 27 Nov 2023 10:55:00 +0000 Subject: [PATCH] Fixed #548: release/nightly uploaded files should be lowercased --- .github/workflows/cd.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 2b219efce..741dafdf6 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -182,13 +182,13 @@ jobs: if: ${{ matrix.destination.uploadto == 'dmg' }} 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 + dmgbuild -s .github/dmg-settings.py -Dapp=$PWD/export/Kiwix.app -Dbg=.github/dmg-bg.png "Kiwix-$VERSION" $PWD/kiwix-$VERSION.dmg - name: Notarize DMG if: ${{ matrix.destination.uploadto == 'dmg' }} run: | - xcrun notarytool submit --keychain $KEYCHAIN --keychain-profile $KEYCHAIN_PROFILE --wait $PWD/Kiwix-$VERSION.dmg - xcrun stapler staple $PWD/Kiwix-$VERSION.dmg + xcrun notarytool submit --keychain $KEYCHAIN --keychain-profile $KEYCHAIN_PROFILE --wait $PWD/kiwix-$VERSION.dmg + xcrun stapler staple $PWD/kiwix-$VERSION.dmg - name: Add SSH_KEY to filesystem shell: bash @@ -200,10 +200,10 @@ jobs: - name: Upload DMG if: ${{ matrix.destination.uploadto == 'dmg' }} - run: 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} + run: 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} - name: Upload IPA if: ${{ matrix.destination.uploadto == 'ipa' }} run: | - mv ${PWD}/export/Kiwix.ipa ${PWD}/export/Kiwix-${VERSION}.ipa - python .github/upload_file.py --src ${PWD}/export/Kiwix-${VERSION}.ipa --dest ci@master.download.kiwix.org:30022/data/download/${UPLOAD_FOLDER} --ssh-key ${SSH_KEY} + mv ${PWD}/export/Kiwix.ipa ${PWD}/export/kiwix-${VERSION}.ipa + python .github/upload_file.py --src ${PWD}/export/kiwix-${VERSION}.ipa --dest ci@master.download.kiwix.org:30022/data/download/${UPLOAD_FOLDER} --ssh-key ${SSH_KEY}