Skip to content

Commit e533baf

Browse files
authored
Remove --provenance flag (automatically generated with OIDC) (#1972)
1 parent b85b645 commit e533baf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/performRelease/performLernaRelease.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ export default async function performLernaRelease(prsSinceLastTag: PR[]) {
4545

4646
const { stdout, stderr } = await exec(
4747
// --no-verify-access is needed because the CI token isn't valid for that endpoint
48-
// --provenance generates build attestation when using OIDC in GitHub Actions
49-
`npx lerna publish ${version} --exact --yes --dist-tag ${distTag} --provenance`,
48+
// provenance is automatically generated when using OIDC Trusted Publishers
49+
`npx lerna publish ${version} --exact --yes --dist-tag ${distTag}`,
5050
);
5151
if (stdout) {
5252
console.log('Lerna output', stdout);

0 commit comments

Comments
 (0)