Skip to content

Commit 26f855f

Browse files
committed
skip gitcheck for rc release
1 parent 27130d7 commit 26f855f

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ jobs:
5858

5959
- name: Publish package (dry)
6060
if: ${{github.event.inputs.publish_type == 'dry-run' }}
61-
run: pnpm release:dry
61+
run: pnpm release:dry --no-git-checks
6262

6363
- name: Publish RC package
6464
if: ${{ github.event.inputs.publish_type == 'rc' && github.event.inputs.confirm_publish == 'YES' }}
6565
env:
6666
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6767
REPOSITORY: ${{ github.repository }}
6868
REF: ${{ github.ref }}
69-
run: pnpm build && cd dist && pnpm publish --access public --tag rc
69+
run: pnpm release:rc --no-git-checks
7070

7171
- name: Publish package
7272
if: ${{ github.event.inputs.publish_type == 'actual' && github.event.inputs.confirm_publish == 'YES' }}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"prepare": "husky && npm run build",
1717
"build": "rimraf dist && tsc && tsc-alias && node scripts/postbuild.mjs && rimraf */*.tsbuildinfo",
1818
"release": "pnpm build && cd dist && pnpm publish --access public",
19-
"release:dry": "pnpm release --dry-run --no-git-checks",
19+
"release:rc": "pnpm release --tag rc",
20+
"release:dry": "pnpm release --dry-run",
2021
"prettier": "prettier --write ./"
2122
},
2223
"bin": {

0 commit comments

Comments
 (0)