Stamp release version into package.json during release build#2699
Stamp release version into package.json during release build#2699jonathanKingston wants to merge 2 commits into
Conversation
Co-authored-by: Jonathan Kingston <jonathanKingston@users.noreply.github.com>
|
Cursor Agent can help with this pull request. Just |
[Beta] Generated file diffTime updated: Fri, 22 May 2026 10:13:35 GMT |
There was a problem hiding this comment.
Web Compatibility Assessment
No findings. The only changed line is .github/workflows/build.yml line 114, adding npm pkg set version=... during the manual release build. This does not touch injected/src, browser API wrappers/shims, DOM behavior, messaging, or platform entry points.
Security Assessment
No findings. The stamped value is derived from the workflow's calculated numeric semver output, and the diff does not change runtime code, captured globals, message bridge checks, origin validation, or data-flow from web pages.
Risk Level
Low Risk: release-workflow metadata stamping only, with no injected runtime or security-sensitive surface changed.
Recommendations
No changes requested for web compatibility or security. I also ran git diff --check on the PR diff; no whitespace issues were reported.
Sent by Cursor Automation: Web compat and sec
|
This PR requires a manual review and approval from a member of one of the following teams:
|
Build Branch
Static preview entry points
QR codes (mobile preview)
Integration commandsnpm (Android / Extension): Swift Package Manager (Apple): .package(url: "https://github.com/duckduckgo/content-scope-scripts.git", branch: "pr-releases/jkt/auto/stamp-tag-version-package-json-0cc5")git submodule (Windows): git -C submodules/content-scope-scripts fetch origin pr-releases/jkt/auto/stamp-tag-version-package-json-0cc5
git -C submodules/content-scope-scripts checkout origin/pr-releases/jkt/auto/stamp-tag-version-package-json-0cc5Pin to exact commitnpm (Android / Extension): Swift Package Manager (Apple): .package(url: "https://github.com/duckduckgo/content-scope-scripts.git", revision: "4fdf0826ef171f988f77d9ce112f1a692aff3e2e")git submodule (Windows): git -C submodules/content-scope-scripts fetch origin pr-releases/jkt/auto/stamp-tag-version-package-json-0cc5
git -C submodules/content-scope-scripts checkout 4fdf0826ef171f988f77d9ce112f1a692aff3e2e |


Asana Task/Github Issue: N/A
Description
package.jsonnpm pkg set version="${{ steps.version.outputs.version }}"immediately beforenpm run buildTesting Steps
Releaseworkflow viaworkflow_dispatchBuild releasestep runsnpm pkg set version=...releasescontainspackage.jsonwith the same version as the generated release tagChecklist
Please tick all that apply: