Skip to content

Commit

Permalink
fix: Installers name (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyaiox authored Jul 22, 2024
1 parent 6478465 commit 87730cd
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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

0 comments on commit 87730cd

Please sign in to comment.