Skip to content

Commit 3206f59

Browse files
committed
chore: add git release scripts
1 parent e029e29 commit 3206f59

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ jobs:
2525
- name: Debug TypeScript files
2626
run: npx tsc --noEmit --project tsconfig.json
2727

28-
- run: tsx src/cli.ts
28+
- run: npm run git:release
2929
env:
3030
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
"build": "tsdown",
3232
"lint": "eslint",
3333
"lint:fix": "eslint --fix",
34-
"release": "npm run build && npm publish"
34+
"release": "npm run build && npm publish",
35+
"git:release": "tsx src/cli.ts"
3536
},
3637
"publishConfig": {
3738
"registry": "https://registry.npmjs.org",

0 commit comments

Comments
 (0)