Skip to content

Commit 227cc7f

Browse files
authored
fix npm publish latest
1 parent 4ec0ebc commit 227cc7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/createRelease.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func npmPublish(pathToSource string, nextVersion string) {
8585
os.Exit(2)
8686
}
8787

88-
command := exec.Command("npm", "publish", pathToSource, "--tag", fmt.Sprintf("%s@%s", result["name"], nextVersion))
88+
command := exec.Command("npm", "publish", pathToSource, "--tag", nextVersion, "--tag latest")
8989
command.Stdout = os.Stdout
9090
command.Stderr = os.Stderr
9191
// Run the command

0 commit comments

Comments
 (0)