Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
doc: --tag prevents setting "latest" on publish
Browse files Browse the repository at this point in the history
  • Loading branch information
linclark authored and othiym23 committed Apr 8, 2015
1 parent 891379f commit 2ef8898
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/cli/npm-dist-tag.md
Expand Up @@ -33,7 +33,8 @@ When installing dependencies, a preferred tagged version may be specified:

This also applies to `npm dedupe`.

Publishing a package always sets the "latest" tag to the published version.
Publishing a package sets the "latest" tag to the published version unless the
`--tag` option is used. For example, `npm publish --tag=beta`.

## PURPOSE

Expand Down

0 comments on commit 2ef8898

Please sign in to comment.