Skip to content

Commit 7430ba4

Browse files
committed
chore: add missing --patch flag for publish-version script
1 parent 6e1f4ab commit 7430ba4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/publish-version/src/main.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ async function parseArgs() {
3333
const { default: mri } = await import('mri')
3434

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

4040
if (argv.latest && argv.tag) {
@@ -47,6 +47,7 @@ async function parseArgs() {
4747
return {
4848
push: !argv['no-push'],
4949
tag: argv.tag as ValidTag,
50+
patch: argv.patch,
5051
gitCliffToken,
5152
npmToken,
5253
radashiBotToken,

0 commit comments

Comments
 (0)