Skip to content

Wrong tag stated in pnpm publish output #7845

@steveluscher

Description

@steveluscher

Verify latest release

  • I verified that the issue exists in the latest pnpm release

pnpm version

8.15.5

Which area(s) of pnpm are affected? (leave empty if unsure)

CLI

Link to the code that reproduces this issue or a replay of the bug

No response

Reproduction steps

pnpm publish package-1.0.1.tgz --access public --no-git-checks --tag exp --ignore-scripts 

Describe the Bug

The output of the above command states the wrong tag name:

npm notice Publishing to https://registry.npmjs.org/ with tag latest and public access
                                                              ^^^^^^

Expected Behavior

When I run the same command with npm instead of pnpm it states the right tag name:

npm notice Publishing to https://registry.npmjs.org/ with tag exp and public access
                                                              ^^^

Which Node.js version are you using?

21.7.1

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions