From 87730cd5f0ec699cfb7c3e4233e77397d97fcf9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20D=C3=ADaz?= Date: Mon, 22 Jul 2024 18:50:23 -0300 Subject: [PATCH] fix: Installers name (#23) --- .github/workflows/release.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fa5f50f..6c0d9ac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -111,19 +111,19 @@ jobs: # Send the notarization request to the Apple's Notarization service and wait for the result. echo "Notarize app" - xcrun notarytool submit "dist/Decentraland Launcher-${{ matrix.config.os }}-x64.dmg" --keychain-profile "notary-profile" --wait - xcrun notarytool submit "dist/Decentraland Launcher-${{ matrix.config.os }}-arm64.dmg" --keychain-profile "notary-profile" --wait + xcrun notarytool submit "dist/Decentraland Launcher-mac-x64.dmg" --keychain-profile "notary-profile" --wait + xcrun notarytool submit "dist/Decentraland Launcher-mac-arm64.dmg" --keychain-profile "notary-profile" --wait # Attach the staple to the executable, this allow the app to be validated by macOS # even when an internet connection is not available. echo "Attach staple" - xcrun stapler staple "dist/Decentraland Launcher-${{ matrix.config.os }}-x64.dmg" - xcrun stapler staple "dist/Decentraland Launcher-${{ matrix.config.os }}-arm64.dmg" + xcrun stapler staple "dist/Decentraland Launcher-mac-x64.dmg" + xcrun stapler staple "dist/Decentraland Launcher-mac-arm64.dmg" # Validate the staple attached to the executable. echo "Validate staple" - xcrun stapler validate "dist/Decentraland Launcher-${{ matrix.config.os }}-x64.dmg" - xcrun stapler validate "dist/Decentraland Launcher-${{ matrix.config.os }}-arm64.dmg" + xcrun stapler validate "dist/Decentraland Launcher-mac-x64.dmg" + xcrun stapler validate "dist/Decentraland Launcher-mac-arm64.dmg" - name: Sign Windows Build (exe) uses: sslcom/esigner-codesign@develop @@ -134,7 +134,7 @@ jobs: password: ${{ secrets.ES_PASSWORD }} credential_id: ${{ secrets.WINDOWS_CREDENTIAL_ID_SIGNER }} totp_secret: ${{ secrets.ES_TOTP_SECRET }} - file_path: ${GITHUB_WORKSPACE}/dist/Decentraland Launcher-${{ matrix.config.os }}-${{ matrix.config.arch }}.exe + file_path: ${GITHUB_WORKSPACE}/dist/Decentraland Launcher-win-${{ matrix.config.arch }}.exe output_path: ${GITHUB_WORKSPACE}/dist/signed malware_block: false environment_name: PROD @@ -143,4 +143,4 @@ jobs: if: ${{github.ref == 'refs/heads/main' && matrix.config.os == 'windows-latest' && !inputs.dry-run}} shell: pwsh run: | - Copy-Item -Path "${env:GITHUB_WORKSPACE}\dist\signed\Decentraland Launcher-${{ matrix.config.os }}-${{ matrix.config.arch }}.exe" -Destination "${env:GITHUB_WORKSPACE}\dist\Decentraland Launcher-${{ matrix.config.os }}-${{ matrix.config.arch }}.exe" -Force + Copy-Item -Path "${env:GITHUB_WORKSPACE}\dist\signed\Decentraland Launcher-win-${{ matrix.config.arch }}.exe" -Destination "${env:GITHUB_WORKSPACE}\dist\Decentraland Launcher-win-${{ matrix.config.arch }}.exe" -Force