From 78467746c39424a88b131036e63f0d6c25f056e9 Mon Sep 17 00:00:00 2001 From: sapphi-red <49056869+sapphi-red@users.noreply.github.com> Date: Sun, 24 Mar 2024 23:55:41 +0900 Subject: [PATCH] chore: fix publish --- scripts/publishCI.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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' }) })()