Skip to content

Commit 570b9f2

Browse files
committed
ci : fix release
1 parent 0788097 commit 570b9f2

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,6 @@ jobs:
9494
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9595
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
9696

97-
# 非 main 分支发布时,需要提交各 package 里的 version 变更
98-
- name: Commit Files Before Push Release Branch
99-
if: github.event.ref != 'refs/heads/main' && github.event.inputs.release_branch == ''
100-
run: |
101-
git add -A
102-
git commit -m 'chore: update package version to v${{github.event.inputs.version}}'
103-
git push origin ${{ github.event.inputs.release_branch }}
104-
10597
# 非 main 分支发布时,自动推送代码到对应分支并打 Tag
10698
- name: Publish Prod Version
10799
if: steps.checkTag.outputs.exists == 'false' && github.event.ref != 'refs/heads/main' && github.event.inputs.release_branch == ''

0 commit comments

Comments
 (0)