mirror of https://github.com/vuejs/core.git
workflow: respect `--skipGit` on `pnpm publish` (#8261)
Fixes errors like https://github.com/vuejs/core/actions/runs/4924472857/jobs/8797539690#step:6:332
This commit is contained in:
parent
fab9c72780
commit
17d37d6a04
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue