Skip to content

Commit

Permalink
chore: add missing --patch flag for publish-version script
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed Nov 22, 2024
1 parent 6e1f4ab commit 7430ba4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/publish-version/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ async function parseArgs() {
const { default: mri } = await import('mri')

const argv = mri(process.argv.slice(2), {
boolean: ['no-push'],
string: ['tag', 'latest'],
boolean: ['no-push', 'patch', 'latest'],
string: ['tag'],
})

if (argv.latest && argv.tag) {
Expand All @@ -47,6 +47,7 @@ async function parseArgs() {
return {
push: !argv['no-push'],
tag: argv.tag as ValidTag,
patch: argv.patch,
gitCliffToken,
npmToken,
radashiBotToken,
Expand Down

0 comments on commit 7430ba4

Please sign in to comment.