Skip to content

Commit 06f9da5

Browse files
committed
fix: correct release scripts to use proper changelogen flags
The release:minor/patch/major scripts were using wrong syntax. Should be --minor, --patch, --major flags, not positional arguments. Authored by: Aaron Lippold<lippold@gmail.com>
1 parent 60d2342 commit 06f9da5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
"preview": "nuxi preview playground",
4646
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
4747
"release": "npm run lint && npm run test && npm run prepack && changelogen --release && git push --follow-tags",
48-
"release:minor": "npm run lint && npm run test && npm run prepack && changelogen --release minor && git push --follow-tags",
49-
"release:patch": "npm run lint && npm run test && npm run prepack && changelogen --release patch && git push --follow-tags",
50-
"release:major": "npm run lint && npm run test && npm run prepack && changelogen --release major && git push --follow-tags",
48+
"release:minor": "npm run lint && npm run test && npm run prepack && changelogen --release --minor && git push --follow-tags",
49+
"release:patch": "npm run lint && npm run test && npm run prepack && changelogen --release --patch && git push --follow-tags",
50+
"release:major": "npm run lint && npm run test && npm run prepack && changelogen --release --major && git push --follow-tags",
5151
"lint": "eslint .",
5252
"test": "vitest run",
5353
"test:watch": "vitest watch",

0 commit comments

Comments
 (0)