Skip to content

Commit d8e69f3

Browse files
committed
chore: wip release script
1 parent 8577466 commit d8e69f3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,11 @@
7272
"changelog:json": "bun node_modules/@stacksjs/logsmith/dist/bin/cli.js --format json --output changelog.json --exclude-types \"chore\" --max-commits 50",
7373
"changelog:html": "bun node_modules/@stacksjs/logsmith/dist/bin/cli.js --format html --output changelog.html --exclude-types \"chore\" --max-commits 50",
7474
"prepublishOnly": "bun run build",
75-
"release": "bun run scripts/auto-version.ts",
76-
"release:major": "bun node_modules/@stacksjs/bumpx/dist/bin/cli.js major --commit --tag --commit-message \"chore(release): bump version to v%s\" --no-push --yes && bun run changelog:generate && git add CHANGELOG.md && git commit --amend --no-edit",
77-
"release:minor": "bun node_modules/@stacksjs/bumpx/dist/bin/cli.js minor --commit --tag --commit-message \"chore(release): bump version to v%s\" --no-push --yes && bun run changelog:generate && git add CHANGELOG.md && git commit --amend --no-edit",
78-
"release:patch": "bun node_modules/@stacksjs/bumpx/dist/bin/cli.js patch --commit --tag --commit-message \"chore(release): bump version to v%s\" --no-push --yes && bun run changelog:generate && git add CHANGELOG.md && git commit --amend --no-edit",
75+
"bumpx": "bun node_modules/@stacksjs/bumpx/dist/bin/cli.js",
76+
"release": "bun run scripts/auto-version.ts, bun run changelog && bunx bumpp package.json --all",
77+
"release:major": "bumpx major --commit --tag --commit-message \"chore(release): bump version to v%s\" --no-push --yes && bun run changelog:generate && git add CHANGELOG.md && git commit --amend --no-edit",
78+
"release:minor": "bumpx minor --commit --tag --commit-message \"chore(release): bump version to v%s\" --no-push --yes && bun run changelog:generate && git add CHANGELOG.md && git commit --amend --no-edit",
79+
"release:patch": "bumpx patch --commit --tag --commit-message \"chore(release): bump version to v%s\" --no-push --yes && bun run changelog:generate && git add CHANGELOG.md && git commit --amend --no-edit",
7980
"release:auto": "bun run scripts/auto-version.ts",
8081
"setup": "bun run scripts/setup.ts",
8182
"test": "bun test",

0 commit comments

Comments
 (0)