Skip to content

fix: align release tests with computed build version#51

Merged
Addono merged 1 commit intomainfrom
fix/release-test-version-expectations
Mar 30, 2026
Merged

fix: align release tests with computed build version#51
Addono merged 1 commit intomainfrom
fix/release-test-version-expectations

Conversation

@Addono
Copy link
Copy Markdown
Owner

@Addono Addono commented Mar 30, 2026

Summary\n- let version-sensitive binary tests honor GH_ATTACH_BUILD_VERSION when set\n- keep the unbuilt local-checkout gh extension path asserting package.json version\n- pass GH_ATTACH_BUILD_VERSION into the release job's npm test step\n\n## Validation\n- npm run lint\n- npm run format:check\n- npm run typecheck\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- GH_ATTACH_BUILD_VERSION=9.9.9 npm test\n- ./bin/gh-attach-darwin-arm64 --version

Use GH_ATTACH_BUILD_VERSION as the expected version for release-built binaries during test runs, while preserving the package.json expectation for unbuilt checkout execution paths.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Addono Addono merged commit f2bd3d6 into main Mar 30, 2026
9 checks passed
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