Skip to content

Commit efbafa1

Browse files
committed
fix: Allow updating version manually / same version on publish
1 parent 9cfff33 commit efbafa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ export function publishRelease(nextVersion, commit, notes) {
254254
/** Publishes the package to npm. */
255255
export function publishPackage(version) {
256256
const token = getNpmToken();
257-
run("npm", ["version", version, "--no-git-tag-version"]);
257+
run("npm", ["version", version, "--no-git-tag-version", "--allow-same-version"]);
258258
run("npm", ["config", "set", `//registry.npmjs.org/:_authToken=${token}`]);
259259
run("npm", ["publish", "--access", "public"]);
260260
}

0 commit comments

Comments
 (0)