Files
kra-new/web/deploy/build-package.mjs
T

8 lines
415 B
JavaScript

import { options, packageRelease, fail } from './release.mjs'
try {
const args = options({ tag: { type: 'string' }, 'source-ref': { type: 'string' }, output: { type: 'string' }, 'skip-install': { type: 'boolean' } })
if (args.help) console.log('pnpm package:test [--tag VERSION] [--output DIRECTORY] [--skip-install] [--source-ref FRONTEND_COMMIT]')
else packageRelease(args)
} catch (error) { fail(error) }