Skip to content

Support release/v publish automation#1

Merged
ThomasK33 merged 1 commit into
mainfrom
codex/release-branch-publish-flow
Apr 24, 2026
Merged

Support release/v publish automation#1
ThomasK33 merged 1 commit into
mainfrom
codex/release-branch-publish-flow

Conversation

@ThomasK33

Copy link
Copy Markdown
Member

Summary

  • Teach publish.yml to run after merged PRs from release/v* branches.
  • Create the matching v${package.version} tag from the merge commit before publishing.
  • Keep direct tag pushes and manual dispatch as recovery paths.
  • Document the protected-main release flow in the README.

Validation

  • mise tasks validate --errors-only
  • workflow YAML parse via Ruby
  • npm run build
  • npm test
  • GITHUB_REF_TYPE=tag GITHUB_REF_NAME=v0.1.0-beta.0 mise run publish-dry-run
  • release branch mismatch guard checked with RELEASE_BRANCH_NAME=release/v0.1.0-beta.1 against current 0.1.0-beta.0 package version

Change-Id: I60952c8fcf1bd93fa6a6ee959b159cab0203fa5e
Signed-off-by: Thomas Kosiewski <tk@coder.com>
@ThomasK33 ThomasK33 marked this pull request as ready for review April 24, 2026 16:50
@ThomasK33 ThomasK33 merged commit 29fb821 into main Apr 24, 2026
4 checks passed
@ThomasK33 ThomasK33 deleted the codex/release-branch-publish-flow branch April 24, 2026 16:54
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