chore(release): 版本发布 - 发布 v1.2.6.rc1 并识别候选版本
This commit is contained in:
1 parent
711d1b79eb
commit
923471f829
4 files changed
+14
-2
No files matched your search
@@ -130,7 +130,7 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
prerelease_args=()
|
||||
if [[ "$GITHUB_REF_NAME" == *-* ]]; then
|
||||
if [[ "$GITHUB_REF_NAME" == *-* || "$GITHUB_REF_NAME" == *.rc* ]]; then
|
||||
prerelease_args+=(--prerelease)
|
||||
fi
|
||||
gh release create "$GITHUB_REF_NAME" \
|
||||
|
||||
Reference in new issue
Block a user