Skip to content
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

Release v6.14.18 #5988

Closed
wants to merge 38 commits into from
Closed

Release v6.14.18 #5988

wants to merge 38 commits into from

Conversation

@lukekarrys
Copy link
Contributor

Historical release notes for reference

Cutting the release

Each branch's release manager follows this procedure:

  1. The release manager ensures that all tests are passing for the release branch (usually release-next or release-next-<n>).

  2. The release manager updates the changelog with salient changes for that release, calling out any breaking changes. You can get a head start on the changelog by running scripts/gen-changelog, which will do its machine best to generate a changelog for you and stick it at the top of CHANGELOG.md. It's not a very smart script though, so you'll still need to edit the result.

  3. The release manager gets a CLI team member to review the release notes for content and style.

  4. The release manager runs npm version <version> on the branch. If it's a new patch or minor version, it should be X.Y.Z-next.0. If it's a patch to an existing prerelease, increment the number. The git release tags are always signed with GnuPG by a npm core team member. (More on setting up GPG with Git.)

  5. The release manager runs make publish on the branch. This:

    1. Ensures that the docs have been built correctly.
    2. Ensures that all changes and tags have been pushed to the appropriate branch on GitHub.
    3. Publishes npm to the registry, setting the release tag to vX.Y-next (not latest, for reasons described above).
    4. NOTE: make sure you have github and npm write permissions!
  6. The release manager runs npm dist-tag set npm@<new-version> next (or, next-<n> if doing a prerelease for a different major version line)

  7. The release manager cleans up the vX.Y-next that was generated as part of the publish process, using npm dist-tag rm npm vX.Y-next.

  8. From the docs repo, pull down any changes that have been made to content in the docs repo and then push to trigger an automatic update of the CLI documentation :

    git fetch --all
    git reset --hard origin/latest
    git commit -avm "emptiness" --allow-empty
  9. Enter your GPG key.

    git push origin +latest:deploy-staging
    git push origin +latest:deploy-production
  10. Post the release notes to Github Releases. Make sure to remove extra newlines from the original, to preserve text flow in browsers.

  11. Post the release notes to npm.community #announcements.

  12. The release manager tweets about the new release!

  13. Post a link on the npmjs tumblog.

@lukekarrys lukekarrys closed this Dec 21, 2022
@lukekarrys
Copy link
Contributor

Reopening as #5989

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.

3 participants