Repository navigation
chore(release): release 1.0.0 from main; 0.x keeps the 0.x line - #668
Merged
Merged
Conversation
Remove the beta prerelease entry of 1.0-beta in .releaserc.json. The next publish on 1.0-beta releases 1.0.0 to npm latest for the @dcmjs-org packages. master stays on 0.x; a later PR moves 1.x to master. Drop the @beta install tags and the stale "marked private" notes, and update RELEASE_PLAN.md. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
Author
|
@pieper - I think we should take the 1.x stream out of beta and release the first 1.0 version in preparation for next week's moving of the master to be the 0x legacy branch and move 1.0-beta to master as the release branch. |
- .releaserc.json: branches 0.x (range 0.x) and main; no success comments for the 1.0.0 release. - publish-package.yml runs on main only; the other workflows run on main and 0.x. - README, PR template and RELEASE_PLAN.md name main and 0.x. Co-Authored-By: Claude Opus 5.5 <[email protected]>
3 of 5 tasks
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
This PR makes a new
mainbranch release1.0.0. After the merge into1.0-beta, a maintainer pushes1.0-betato a newmainbranch. The publish job onmainthen releases1.0.0to npmlatestfor each public@dcmjs-org/*package. Later merges intomainrelease1.xversions.After the release,
mainbecomes the default branch, andmastergets the new name0.x. The0.xbranch keeps the unscopeddcmjspackage (>=0.54.1 <1.0.0). #648 updates the release configuration on0.x. This PR replaces #649.Changes
.releaserc.json:branchesis[{ "name": "0.x", "range": "0.x", "channel": false }, "main"]. Themaster,1.0-betaandrelease/0.5xentries go away.@semantic-release/githubhassuccessComment: false. The1.0.0release covers more than 100 PRs, and a comment on each PR sends many notification emails. A follow-up PR onmainremoves the option. The GitHub release and the release notes do not change..github/workflows/publish-package.yml: the push trigger ismainonly. A push to1.0-betano longer publishes. The0.xbranch has its own copy of the workflow.lint-and-format,pnpm-audit,schema-freshness,tests): the push trigger ismainand0.x.README.mdanddocs/MIGRATION.md: the install command has no@betatag. The live examples link points to the production deploy of Netlify, not to themasterbranch deploy. Thedcmjs@devline goes away, because thedevtag is old.packages/core,packages/generatorandpackages/legacyREADMEs: remove the note "During the 1.0 beta this package is marked private". Theirpackage.jsonfiles are already public..github/PULL_REQUEST_TEMPLATE.md: the text namesmain, not1.0-beta.RELEASE_PLAN.md: the branch table, section 10, section 12 and the appendices describe the release of1.0.0frommain.Verification
I ran
semantic-release --dry-run --no-cion a scratch repository. The repository had this branch asmain, the currentmaster(v0.54.0) as0.x, and all tags. The result:The dry run showed no
EINVALIDNEXTVERSIONerror and noEINVALIDMAINTENANCEMERGEerror.The change has no code. The tests do not change.
Before the merge
publishGitHub environment must allowmainand0.x, and must not allow1.0-beta.publishenvironment must have a required reviewer, so that a maintainer approves the release of1.0.0.After the merge
git push origin origin/1.0-beta:refs/heads/mainstarts the release of1.0.0.betadist-tag by hand (npm dist-tag rm), per section 10 ofRELEASE_PLAN.md.🤖 Generated with Claude Code