diff --git a/scripts/publishCI.ts b/scripts/publishCI.ts index 058c2551d88f2d..8044c0fa48741e 100644 --- a/scripts/publishCI.ts +++ b/scripts/publishCI.ts @@ -1,10 +1,8 @@ ;(async () => { const { publish } = await import('@vitejs/release-scripts') - // Check the tag passed in CI, and skip provenance if tag has `@` due to - // https://github.com/slsa-framework/slsa-github-generator/pull/2758 not released - const tag = process.argv.slice(2)[0] ?? '' - const provenance = !tag.includes('@') + // pnpm 7.14.1 doesn't support this + const provenance = false publish({ defaultPackage: 'vite', provenance, packageManager: 'pnpm' }) })()