Skip to content

🔧 Unify CLI beta releases#323

Merged
Robdel12 merged 1 commit into
mainfrom
rd/unify-beta-release
Jul 22, 2026
Merged

🔧 Unify CLI beta releases#323
Robdel12 merged 1 commit into
mainfrom
rd/unify-beta-release

Conversation

@Robdel12

Copy link
Copy Markdown
Contributor

Why

npm allows only one trusted publisher workflow per package, so the separate beta workflow could not authenticate while release.yml owns the package's trusted-publisher connection. That workflow also exposed release Git state before proving the package could build and publish.

Approach

Keep one manual Release trigger and add beta beside the existing patch, minor, and major choices. The beta choice creates the next beta prerelease, publishes it under the npm beta dist-tag, and marks the GitHub release as a prerelease while preserving the stable release path and its publish-first ordering.

The obsolete beta workflow is removed, along with the current recovery mode that existed for the older push-before-publish flow.

Evidence

The unified workflow parses successfully and preserves the existing unpublished-version check, build, and npm publish before pushing the version commit or tag. Stable releases remain the default and continue publishing without a prerelease dist-tag.

Publish beta builds through the same workflow npm trusts for stable releases, while keeping the manual trigger focused on explicit release types.
@Robdel12
Robdel12 marked this pull request as ready for review July 22, 2026 16:56
@Robdel12
Robdel12 merged commit 986b268 into main Jul 22, 2026
18 checks passed
@Robdel12
Robdel12 deleted the rd/unify-beta-release branch July 22, 2026 16:56
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