mirror of
https://github.com/vitejs/vite.git
synced 2024-11-22 07:09:05 +00:00
9 lines
360 B
TypeScript
9 lines
360 B
TypeScript
import { publish } from '@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('@')
|
|
|
|
publish({ defaultPackage: 'vite', provenance, packageManager: 'pnpm' })
|