chore(release): 版本发布 - 发布 v1.2.6.rc1 并识别候选版本

This commit is contained in:
ddCat
2026-09-05 13:37:50 +08:00
parent 58f01d1eb6
commit add65cb8d0
4 changed files with 14 additions and 2 deletions

View File

@@ -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" \