Skip to content

Commit

Permalink
workflow: respect --skipGit on pnpm publish (#8261)
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqunjiang authored May 18, 2023
1 parent fab9c72 commit 17d37d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,8 @@ async function publishPackage(pkgName, version) {
...(releaseTag ? ['--tag', releaseTag] : []),
'--access',
'public',
...(isDryRun ? ['--dry-run'] : [])
...(isDryRun ? ['--dry-run'] : []),
...(skipGit ? ['--no-git-checks'] : [])
],
{
cwd: pkgRoot,
Expand Down

0 comments on commit 17d37d6

Please sign in to comment.