chore: release v0.1.6#18
Merged
Merged
Conversation
Bump to 0.1.6 and fix the release workflow's version stamping. Since #16, src/lib/constants.ts reads pkg.version, so the workflow's sed on "export const VERSION = ..." no longer matched and was a no-op: a tag would ship a binary reporting the old version and fail the Homebrew `agent --version` assertion. Stamp package.json via `npm version` instead.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prep for the v0.1.6 release (which ships the request-id-on-error change from #17).
Changes
package.jsonto 0.1.6 (the single source of truth —src/lib/constants.tsreadspkg.version, inlined into the binary at build).constants.tsreadspkg.version, so thesedonexport const VERSION = '...'no longer matched and was a silent no-op. Av*tag would have built a binary still reporting the old version and failed the Homebrewtest doassertion (agent --version== formula version). The stamp step now runsnpm version <v> --no-git-tag-versionto setpackage.jsoninstead.Verified locally
Bumping
package.jsonto 0.1.6 and runningbun build --compileproduces a binary whose--versionreports0.1.6— the same path the workflow now takes.After merge
Tag
v0.1.6onmainto trigger the release workflow (builds the four platform tarballs, publishes the GitHub release, regenerates the Homebrew formula).