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

chore: release 9.3.1 #6055

Merged
merged 1 commit into from
Jan 17, 2023
Merged

chore: release 9.3.1 #6055

merged 1 commit into from
Jan 17, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jan 13, 2023

🤖 I have created a release beep boop

9.3.1

9.3.1 (2023-01-13)

Bug Fixes


This PR was generated with Release Please. See documentation.

@github-actions
Copy link
Contributor Author

github-actions bot commented Jan 13, 2023

Release Manager

Release workflow run: https://github.com/npm/cli/actions/runs/3915182389

Force CI to Update This Release

This PR will be updated and CI will run for every non-chore: commit that is pushed to latest. To force CI to update this PR, run this command:

gh workflow run release.yml -r latest

Release Checklist for v9.3.1

  • 1. Checkout the release branch

    Ensure git status is not dirty on this branch after resetting deps. If it is, then something is probably wrong with the automated release process.

    gh pr checkout 6055 --force
    node . run resetdeps
    node scripts/git-dirty.js
  • 2. Check CI status

    gh pr checks --watch
  • 3. Publish the CLI

    Warning:
    This will publish all updated workspaces, and will publish the CLI with the dist-tag set to next-9.

    Note:
    The --test argument can optionally be omitted to run the publish process without running any tests locally.

    node scripts/publish.js --test
  • 4. Optionally install and test npm@9.3.1 locally

    npm i -g npm@9.3.1
    npm --version
    npm whoami
    npm help install
    # etc
  • 5. Set latest dist-tag to newly published version

    Warning:
    NOT FOR PRERELEASE: Do not run this step for prereleases or if 9 is not being set to latest.

    node . dist-tag add npm@9.3.1 latest
  • 6. Merge release PR

    gh pr merge --rebase
    git checkout latest
    git fetch
    git reset --hard origin/latest
    node . run resetdeps
  • 7. Check For Release Tags

    Release Please will run on the just pushed release commit and create GitHub releases and tags for each package.

    gh run watch `gh run list -w release -L 1 --json databaseId -q ".[0].databaseId"`
    
  • 8. Post on Twitter

    New @npmjs release: 9.3.1!
    
    https://github.com/npm/cli/releases/tag/v9.3.1
    
    Release details...
    
  • 9. Trigger docs.npmjs.com update

    gh workflow run update-cli.yml --repo npm/documentation
  • 10. Open nodejs/node PR to update npm to latest

    Warning:
    You must wait for CI to create the release tags before running this step.

    Trigger the Create Node PR action. This will open a PR on nodejs/node to the main branch.

    Note:
    The resulting PR may need to be labelled if it is not intended to land on old Node versions.

    gh repo sync npm/node --source nodejs/node --force
    gh workflow run create-node-pr.yml -f spec=next-9

    If the PR should be opened on a different branch (such as when doing backports) then run it with -f branch=<BRANCH_NAME>. There is also a shortcut to target a specific Node version by specifying a major version number with -f branch=18 (or similar).

    # This will create a PR on nodejs/node to the `v18.x-staging` branch
    gh workflow run create-node-pr.yml -f spec=next-9 -f branch=18

@github-actions github-actions bot force-pushed the release-please--branches--latest branch from 5b27db8 to 762c3e6 Compare January 13, 2023 21:53
@github-actions github-actions bot force-pushed the release-please--branches--latest branch from 762c3e6 to 9e96f59 Compare January 13, 2023 21:54
@nlf nlf self-assigned this Jan 17, 2023
@nlf nlf merged commit b74f834 into latest Jan 17, 2023
@nlf nlf deleted the release-please--branches--latest branch January 17, 2023 20:52
@github-actions
Copy link
Contributor Author

🤖 Release is at https://github.com/npm/cli/releases/tag/v9.3.1 🌻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant