Skip to content

Commit

Permalink
fix: Allow updating version manually / same version on publish
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodeIO committed Oct 25, 2020
1 parent 9cfff33 commit efbafa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ export function publishRelease(nextVersion, commit, notes) {
/** Publishes the package to npm. */
export function publishPackage(version) {
const token = getNpmToken();
run("npm", ["version", version, "--no-git-tag-version"]);
run("npm", ["version", version, "--no-git-tag-version", "--allow-same-version"]);
run("npm", ["config", "set", `//registry.npmjs.org/:_authToken=${token}`]);
run("npm", ["publish", "--access", "public"]);
}

0 comments on commit efbafa1

Please sign in to comment.