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 10.8.2 #7575

Merged
merged 1 commit into from
Jul 10, 2024
Merged

chore: release 10.8.2 #7575

merged 1 commit into from
Jul 10, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented May 30, 2024

🤖 I have created a release beep boop

10.8.2

10.8.2 (2024-07-09)

Bug Fixes

Documentation

Dependencies

Chores

arborist: 7.5.4

7.5.4 (2024-07-09)

Bug Fixes

config: 8.3.4

8.3.4 (2024-07-09)

Bug Fixes

Dependencies

libnpmdiff: 6.1.4

Dependencies

libnpmexec: 8.1.3

8.1.3 (2024-07-09)

Bug Fixes

Dependencies

libnpmfund: 5.0.12

Dependencies

libnpmpack: 7.0.4

Dependencies


This PR was generated with Release Please. See documentation.

@github-actions github-actions bot requested a review from a team as a code owner May 30, 2024 15:51
Copy link
Contributor Author

github-actions bot commented May 30, 2024

Release Manager

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

Release Checklist for v10.8.2

  • 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 7575 --force
    npm run resetdeps
    node scripts/git-dirty.js
  • 2. Check CI status

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

    Warning:
    This will publish all updated workspaces to latest, prerelease or backport depending on their version, and will publish the CLI with the dist-tag set to next-10.

    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@10.8.2 locally

    npm i -g npm@10.8.2
    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 10 is not being set to latest.

    node . dist-tag add npm@10.8.2 latest
  • 6. Trigger docs.npmjs.com update

    gh workflow run update-cli.yml --repo npm/documentation
  • 7. Merge release PR

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

    Warning:
    The remaining steps all require the GitHub tags and releases to be created first. These are done once this PR has been labelled with autorelease: tagged.

    Release Please will run on the just merged release commit and create GitHub releases and tags for each package. The release bot will will comment on this PR when the releases and tags are created.

    Note:
    The release workflow also includes the Node integration tests which do not need to finish before continuing.

    You can watch the release workflow in your terminal with the following command:

    gh run watch `gh run list -R npm/cli -w release -b latest -L 1 --json databaseId -q ".[0].databaseId"`
    
  • 9. Mark GitHub Release as latest

    Warning:
    You must wait for CI to create the release tags before running this step. These are done once this PR has been labelled with autorelease: tagged.

    Release Please will make GitHub Releases for the CLI and all workspaces, but GitHub has UI affordances for which release should appear as the "latest", which should always be the CLI. To mark the CLI release as latest run this command:

    gh release -R npm/cli edit v10.8.2 --latest
  • 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. These are done once this PR has been labelled with autorelease: tagged.

    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.

    First, sync our fork of node with the upstream source:

    gh repo sync npm/node --source nodejs/node --force

    Then, if we are opening a PR against the latest version of node:

    gh workflow run create-node-pr.yml -f spec=next-10

    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).

    For example, this will create a PR on nodejs/node to the v16.x-staging branch:

    gh workflow run create-node-pr.yml -f spec=next-10 -f branch=16
  • 11. Label and fast-track nodejs/node PR

    Note:
    This requires being a nodejs collaborator. This could be you!

    • Thumbs-up reaction on the Fast-track comment
    • Add an LGTM / Approval
    • Add request-ci label to get it running CI
    • Add commit-queue label once everything is green

@github-actions github-actions bot force-pushed the release-please--branches--latest branch 5 times, most recently from da352a1 to 3dc3b14 Compare June 3, 2024 14:09
@github-actions github-actions bot force-pushed the release-please--branches--latest branch 4 times, most recently from 9710405 to b637186 Compare June 14, 2024 16:56
Redmishiaomi

This comment was marked as spam.

@github-actions github-actions bot force-pushed the release-please--branches--latest branch 10 times, most recently from 7c050dc to 6e3509f Compare July 1, 2024 15:52
@github-actions github-actions bot force-pushed the release-please--branches--latest branch 2 times, most recently from 166a276 to 195419d Compare July 1, 2024 17:19
@github-actions github-actions bot force-pushed the release-please--branches--latest branch 3 times, most recently from 3c62b53 to 784d4a0 Compare July 9, 2024 17:49
@github-actions github-actions bot force-pushed the release-please--branches--latest branch from 784d4a0 to 21f5380 Compare July 9, 2024 17:50
@wraithgar wraithgar merged commit dbe7d98 into latest Jul 10, 2024
24 checks passed
@wraithgar wraithgar deleted the release-please--branches--latest branch July 10, 2024 17:08
Copy link
Contributor Author

🤖 Release is at https://github.com/npm/cli/releases/tag/v10.8.2 🌻

Copy link
Contributor Author

Copy link
Contributor Author

Copy link
Contributor Author

Copy link
Contributor Author

Copy link
Contributor Author

Copy link
Contributor Author

Copy link
Contributor Author

github-actions bot commented Jul 10, 2024

@ljharb
Copy link
Contributor

ljharb commented Jul 17, 2024

I'm getting a lot of "exit handler never called" and installation hanging in 10.8.2 where npx npm@10.8.1 works fine (on node v22.5.0). I'm not sure how to reproduce it, but https://github.com/ljharb/coauthors/actions/runs/9981663313/job/27585794621 is an example that's failing.

Copy link

@anhtai9710 anhtai9710 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test

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.

4 participants