Skip to content

Commit 6f85389

Browse files
committed
npm: Replace deprecated tag method with dist-tag
Closes gh-92
1 parent 4b207e8 commit 6f85389

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/npm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ module.exports = function( Release ) {
8484
}
8585

8686
while ( npmTags.length ) {
87-
npmCommand = "npm tag " + name + "@" + Release.newVersion + " " + npmTags.pop();
87+
npmCommand = "npm dist-tag add " + name + "@" + Release.newVersion + " " + npmTags.pop();
8888
console.log( " " + chalk.cyan( npmCommand ) );
8989
if ( !Release.isTest ) {
9090
Release.exec( npmCommand );

0 commit comments

Comments
 (0)