From 283108dc28a9ae3624318f16b69c7faccf9586b5 Mon Sep 17 00:00:00 2001 From: "Mr. M" Date: Thu, 2 Oct 2025 10:39:45 +0200 Subject: [PATCH] feat: Improve windows signing CI tool, b=no-bug, c=no-component --- build/winsign/sign.ps1 | 4 +++- package.json | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/build/winsign/sign.ps1 b/build/winsign/sign.ps1 index 1e06067b6..17aa67f9d 100644 --- a/build/winsign/sign.ps1 +++ b/build/winsign/sign.ps1 @@ -35,7 +35,9 @@ Start-Job -Name "SurferInit" -ScriptBlock { param($PWD) cd $PWD npm run import -- --verbose - npm run surfer -- ci --brand release + $surferJson = Get-Content surfer.json | ConvertFrom-Json + $version = $surferJson.brands.release.release.displayVersion + npm run ci -- $version } -Verbose -ArgumentList $PWD -Debug echo "Downloading artifacts info" diff --git a/package.json b/package.json index ea0542817..8844e4840 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,8 @@ "ffprefs": "cd tools/ffprefs && cargo run --bin ffprefs -- ../../", "lc": "surfer license-check", "lc:fix": "surfer license-check --fix", - "use-moz-src": "cd engine && ./mach use-moz-src" + "use-moz-src": "cd engine && ./mach use-moz-src", + "ci": "surfer ci --brand release --display-version" }, "repository": { "type": "git",