mirror of
https://github.com/vitejs/vite.git
synced 2024-11-21 22:59:10 +00:00
chore: fix publish
This commit is contained in:
parent
5910f13ee2
commit
78467746c3
@ -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' })
|
||||
})()
|
||||
|
Loading…
Reference in New Issue
Block a user