Skip to content

Release 0.2.0 - #206

Closed
ninjudd wants to merge 1 commit into
mainfrom
release/v0.2.0
Closed

ninjudd wants to merge 1 commit into
mainfrom
release/v0.2.0

Conversation

@ninjudd

@ninjudd ninjudd commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

Raises Field's version to 0.2.0 in package.json. Merging this pull request publishes the release: the Release workflow then tags v0.2.0 on the merge commit, moves the major tag to it, and creates the GitHub release with generated notes. This is Field's first release, so the merge also creates v0, the tag the release installer will follow.

The Release workflow's propose job (run 38167355504) bumped the version and pushed release/v0.2.0, but couldn't open this pull request: the repository doesn't allow GitHub Actions to create pull requests (Settings > Actions > General > Workflow permissions). This pull request was opened by hand from that branch, which docs/release.md describes as the way through. Merging it publishes the release just the same.

Testing

The Release workflow ran node scripts/release.ts bump minor from the repository root, which printed 0.2.0 and wrote it to package.json. The branch is one commit on top of main at 878cdbc, and its whole diff is the version line. After the merge, the publish job runs node scripts/release.ts released --since <the commit main held before the merge>. That exits 3, because 0.2.0 is above 0.1.0 and untagged, and then the job runs node scripts/release.ts tag. To check the result afterwards:

gh release view v0.2.0 --repo okamnesiac/field
git ls-remote --tags https://github.com/okamnesiac/field.git

The first should show the v0.2.0 release with generated notes. The second should list refs/tags/v0.2.0 and refs/tags/v0, both resolving to the merge commit. If the publish job fails after pushing the tags, its log prints the gh release create command that finishes the release.

@ninjudd

ninjudd commented Oct 11, 2026

Copy link
Copy Markdown
Contributor Author

Closing: the release pull request should come from the Release workflow, not be opened by hand. Fixing the workflow instead.

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