fix(release): seed the version floor on the parent, not on HEAD #3

Merged
logan merged 1 commits from release-floor-fix into main 2026-08-18 03:10:31 +00:00
Collaborator

The first run of release.yml seeded v0.0.0 on the merge commit itself, leaving zero commits between the floor and HEAD — so semantic-release correctly reported nothing to release. HEAD^ is the fix.

The tag has already been moved to 6fb7b5e by hand, so merging this PR is what cuts v0.0.1.

This still needs PACKAGE_TOKEN to have write:repository — see the PR discussion. semantic-release core dry-run-pushes to the release branch as a permission check, and that returned 403 with the current token.

The first run of `release.yml` seeded `v0.0.0` on the merge commit itself, leaving zero commits between the floor and HEAD — so semantic-release correctly reported nothing to release. `HEAD^` is the fix. The tag has already been moved to `6fb7b5e` by hand, so merging this PR is what cuts **v0.0.1**. **This still needs `PACKAGE_TOKEN` to have `write:repository`** — see the PR discussion. semantic-release core dry-run-pushes to the release branch as a permission check, and that returned 403 with the current token.
logan added 1 commit 2026-08-18 00:37:56 +00:00
fix(release): seed the version floor on the parent, not on HEAD
CI / check (push) Skipped
CI / e2e (push) Skipped
CI / check (pull_request) Successful in 2m38s
CI / e2e (pull_request) Successful in 6m14s
786d9c6110
The floor tag marks what has already been released, so tagging the
commit being pushed leaves nothing between the floor and HEAD --
semantic-release then correctly reports there is nothing to release.
That is what the first run did: it seeded v0.0.0 on the merge commit
itself and cut no release.

HEAD^ is the first parent, so on a merge commit it is main as it was
before the merge and everything the merge brought in is releasable.

The tag has been moved to 6fb7b5e by hand; this is so the next repo
never needs that.
logan merged commit 186f6a5839 into main 2026-08-18 03:10:31 +00:00
Sign in to join this conversation.