From 3298a455063fc94e8751388784401b500cbb702a Mon Sep 17 00:00:00 2001 From: Lucas Ontivero Date: Fri, 13 Sep 2024 16:44:34 -0300 Subject: [PATCH] Add permission and signtool full path (#13391) --- .github/workflows/release.yml | 2 ++ Contrib/release.sh | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4586e9df19d..c50dc6d77bf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: diff --git a/Contrib/release.sh b/Contrib/release.sh index 115eb2b3c2b..4965fe64ac7 100755 --- a/Contrib/release.sh +++ b/Contrib/release.sh @@ -161,7 +161,7 @@ for PLATFORM in "${PLATFORMS[@]}"; do pushd "$OUTPUT_DIR" || exit $ZIP "$PACKAGES_DIR/$PACKAGE_FILE_NAME.zip" . popd || exit - + done @@ -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 #------------------------------------------------------------------------------------#