-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: add semantic release simulation docs #608
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @davidlj95 and the rest of your teammates on Graphite |
📦 Bundle size (Angular v15)Git ref:
|
📦 Bundle size (Angular v18)Git ref:
|
📦 Bundle size (Angular v17)Git ref:
|
📦 Bundle size (Angular v16)Git ref:
|
🎉 This PR is included in version 1.0.0-beta.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Issue or need
In latest release,
main
was added asdist-tag
to the package. Butlatest
wasn't.About
main
dist tag, it's because an error in Semantic Release configuration.channel
defines the tag used when publishing in npm. And by default it takes the name of the branch (unless it's the first release branch). So that's whymain
as there. It has been there since the beginning, after checkinggit notes
created by semantic release and GitHub Actions logs.About
latest
not being there, still don't know why exactly*. Nothing in semantic release or the npm plugin seems to have changed to alter that behavior. Makes sense, as it would be a breaking change and therefore a documented one. It was there for previous releases. Though that may change soon innpm
v11.To be able to find that, simulated releases with semantic release. It's not an easy task though and has its quirks. The more the further you want to simulate. So writing them in a guide in case a release needs to be debugged or rehearsed in the future.
Proposed changes
Document the release rehearsal steps. In
CONTRIBUTING.md
where all processes are explained.Will manually fix the invalid semantic release notes (should be in
null
/ default channel instead ofmain
channel) and semantic release configuration manually after merging this PR. Now that can first safely ensure the proper release config will be in place.Quick reminders