From c5ce3af9fe3500a047cc93eea420ffc1495e76c6 Mon Sep 17 00:00:00 2001 From: "Mr. M" Date: Fri, 11 Jul 2025 14:36:01 +0200 Subject: [PATCH] fix: Fixed windows signing process not being configured correctly, b=no-bug, c=no-component --- build/winsign/firefox_update.ps1 | 12 ++++++++++++ build/winsign/sign.ps1 | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 build/winsign/firefox_update.ps1 diff --git a/build/winsign/firefox_update.ps1 b/build/winsign/firefox_update.ps1 new file mode 100644 index 000000000..f796d68fc --- /dev/null +++ b/build/winsign/firefox_update.ps1 @@ -0,0 +1,12 @@ + +Remove-Item -Recurse -Force engine +Remove-Item -Recurse -Force .surfer + +npm run init + +$job = Start-Job -ScriptBlock { + npm run build +} + +# Wait for job to complete with timeout (in seconds) +$job | Wait-Job -Timeout 5 diff --git a/build/winsign/sign.ps1 b/build/winsign/sign.ps1 index 9ce4d69f1..c553a52b8 100644 --- a/build/winsign/sign.ps1 +++ b/build/winsign/sign.ps1 @@ -6,7 +6,7 @@ param( $ErrorActionPreference = "Stop" echo "Preparing environment" -git pull --recurse +git pull origin dev --recurse mkdir windsign-temp -ErrorAction SilentlyContinue # Download in parallel @@ -113,6 +113,7 @@ signtool.exe sign /n "$SignIdentity" /t http://time.certum.pl/ /fd sha256 /v $fi $env:ZEN_RELEASE="true" $env:SURFER_SIGNING_MODE="true" +$env:SCCACHE_GHA_ENABLED="false" Wait-Job -Name "SurferInit" Wait-Job -Name "DownloadGitl10n"