Skip to content

Commit

Permalink
Add permission and signtool full path (WalletWasabi#13391)
Browse files Browse the repository at this point in the history
  • Loading branch information
lontivero authored Sep 13, 2024
1 parent 9251caa commit 3298a45
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ jobs:
if-no-files-found: error

sign-all-packages:
permissions:
contents: write # to create GitHub release (softprops/action-gh-release)
runs-on: ubuntu-latest
needs: [debian-package-and-zips, installer-for-windows, macos-packages-and-zips]
steps:
Expand Down
5 changes: 3 additions & 2 deletions Contrib/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ for PLATFORM in "${PLATFORMS[@]}"; do
pushd "$OUTPUT_DIR" || exit
$ZIP "$PACKAGES_DIR/$PACKAGE_FILE_NAME.zip" .
popd || exit

done


Expand Down Expand Up @@ -295,7 +295,8 @@ mkdir -p "$BUILD_INSTALLER_DIR"
rm $PACKAGES_DIR/*.wixpdb

# Sign the installer
signtool sign /d "Wasabi Wallet" /f Certificate.pfx /p "$SIGNING_CERTIFICATE_PASSWORD" /t http://timestamp.digicert.com /v "$PACKAGES_DIR/$PACKAGE_FILE_NAME_PREFIX.msi"
SIGNTOOL="C:/Program Files (x86)/Windows Kits/10/bin/10.0.18362.0/x64/signtool.exe"
"$SIGNTOOL" sign /debug /d "Wasabi Wallet" /f Certificate.pfx /p "$SIGNING_CERTIFICATE_PASSWORD" /t http://timestamp.digicert.com /v "$PACKAGES_DIR/$PACKAGE_FILE_NAME_PREFIX.msi"
fi

#------------------------------------------------------------------------------------#
Expand Down

0 comments on commit 3298a45

Please sign in to comment.