Skip to content

Use publish tag argument in post-publish #5465

Closed
@archmoj

Description

@archmoj

While publishing the release candidate (rc) for v2, I noticed this line should change to avoid publishing dist and locales over the tag latest.

exec('npm publish', {cwd: pkgPath}, cb).stdout.pipe(process.stdout);

I made the temporary change to npm publish --tag rc at the publish time; however it would be nice to fix this before the next release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions