Skip to content

Commit

Permalink
feat: add --no-git-checks flag
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-berger committed Feb 3, 2024
1 parent 301597f commit abe5604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default async function (npmrc, { npmPublish, pkgRoot, packageManager }, p
logger.log(`Publishing version ${version} to npm registry on dist-tag ${distTag}`);
const commandOptions = packageManager === "npm"
? ["publish", basePath, "--userconfig", npmrc, "--tag", distTag, "--registry", registry]
: ["publish", basePath, "--tag", distTag, "--registry", registry];
: ["publish", basePath, "--tag", distTag, "--registry", registry, "--no-git-checks"];

const result = execa(
packageManager,
Expand Down

0 comments on commit abe5604

Please sign in to comment.