Skip to content

fix: inject release version during binary build#50

Merged
Addono merged 1 commit intomainfrom
fix/release-build-version-injection
Mar 30, 2026
Merged

fix: inject release version during binary build#50
Addono merged 1 commit intomainfrom
fix/release-build-version-injection

Conversation

@Addono
Copy link
Copy Markdown
Owner

@Addono Addono commented Mar 30, 2026

Summary\n- pass GH_ATTACH_BUILD_VERSION into the build step in the release matrix\n- keep the package step using the same computed semantic-release version\n- ensure published gh extension binaries report the new release version instead of the previous one\n\n## Validation\n- GH_ATTACH_BUILD_VERSION=9.9.9 npm run build\n- GH_ATTACH_BUILD_VERSION=9.9.9 GH_ATTACH_PKG_TARGETS=node18-macos-arm64 npm run package\n- ./bin/gh-attach-darwin-arm64 --version\n- npm run build\n- npm test\n- npm run lint\n- npm run format:check\n- npm run typecheck

Set GH_ATTACH_BUILD_VERSION for the build step as well as the packaging step so the published binaries embed the computed semantic-release version.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Addono Addono force-pushed the fix/release-build-version-injection branch from d6930ba to ea3fdda Compare March 30, 2026 12:36
@Addono Addono merged commit 6496db2 into main Mar 30, 2026
9 checks passed
@Addono Addono deleted the fix/release-build-version-injection branch March 30, 2026 12:37
github-actions Bot pushed a commit that referenced this pull request Mar 30, 2026
## [1.5.5](v1.5.4...v1.5.5) (2026-03-30)

### Bug Fixes

* align release tests with computed build version ([#51](#51)) ([f2bd3d6](f2bd3d6))
* inject release version during binary build ([#50](#50)) ([6496db2](6496db2))
* validate releases before publishing ([#52](#52)) ([dc6b449](dc6b449))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant