Skip to content

Allow Trusted Publishers to run "npm dist-tag add" #8547

@MarshallOfSound

Description

@MarshallOfSound

Currently the Trusted Publisher docs indicate that the only supported command is npm publish. For packages that maintain multiple release lines the release process in CI normally looks like:

  • npm publish --tag=20-x-y
  • If this is the latest release line
    • npm dist-tag add my-package@version latest

As an example you can check the dist tags of the electron package on npm. Without this ability we would be unable to switch to Trusted Publisher.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions