fix: fix release CI error (#160)

* fix release CI error

* reset version

* fix error code

* change private_key path

* add pr title  rules

* reset version
This commit is contained in:
Linlang
2024-08-05 17:34:03 +08:00
committed by GitHub
parent 420dbbe584
commit 06e1c705d2
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ jobs:
steps:
- name: Check PR Title for Conventional Commit Format
run: |
if ! echo "${{ github.event.pull_request.title }}" | grep -Pq '^(build|chore|ci|deps|doc|docs|feat|fix|perf|ref|refactor|revert|style|test|tests)(\(\w+\))?!?:\s.*'; then
if ! echo "${{ github.event.pull_request.title }}" | grep -Pq '^(build|chore|ci|deps|doc|docs|feat|fix|perf|ref|refactor|revert|style|test|tests|Bump version)(\(\w+\))?!?:\s.*'; then
echo 'The title does not conform to the Conventional Commit.'
echo 'Please refer to "https://www.conventionalcommits.org/"'
exit 1