ci(release): release next from a dedicated branch and restore requireCommits - #29
Merged
Merged
Conversation
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.
Summary
Adopt the branch-bound npm release channels from the updated organization reusable workflows (AntelopeJS/.github#10), matching AntelopeJS/antelopejs#155 and AntelopeJS/api#52:
.github/workflows/release.yml: pinrelease-npm-public.ymltof4ce81591d09d271a480fd796e12a725cc973e0f. The reusable workflow now publisheslatestonly from the default branch andnextonly from a branch namednext, passing--git.requireBranch=<branch>to release-it. The channel input, secrets and permissions are unchanged..release-it.json: removegit.requireBranch(now supplied by the workflow) and keepgit.requireCommits: true, which was already set.CONTRIBUTING.md: add a short "Releases" section pointing to the organization-wide release channels guide.Related issue
Follow-up to AntelopeJS/.github#10; same change as AntelopeJS/antelopejs#155 and AntelopeJS/api#52.
Verification
pnpm install --frozen-lockfile,pnpm prepack,pnpm lint,pnpm format:check,pnpm knip,pnpm test(96 passing): all pass.actionlint .github/workflows/release.yml(v1.7.7): no findings.pnpm exec release-it --ci --dry-run --no-npm.publish --git.requireBranch=ci/next-branch-releases: config parses, therequireCommitscheck passes (commits exist sincev0.1.9), and the dry run resolves tov0.1.10. The localpackage.jsonbump from the dry run was reverted; no tag was created and nothing was published.Checklist