mirror of https://github.com/vuejs/core.git
workflow: skip provenance when publishing commits
This commit is contained in:
parent
119a0b3832
commit
cac1e4e7f6
|
@ -507,7 +507,8 @@ async function publishPackages(version) {
|
||||||
}
|
}
|
||||||
// add provenance metadata when releasing from CI
|
// add provenance metadata when releasing from CI
|
||||||
// canary release commits are not pushed therefore we don't need to add provenance
|
// canary release commits are not pushed therefore we don't need to add provenance
|
||||||
if (process.env.CI && !isCanary) {
|
// also skip provenance if not publishing to actual npm
|
||||||
|
if (process.env.CI && !isCanary && !args.registry) {
|
||||||
additionalPublishFlags.push('--provenance')
|
additionalPublishFlags.push('--provenance')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue