1
1
mirror of https://github.com/KenanZhu/AutoLibrary.git synced 2026-06-18 07:23:03 +08:00

ci(workflows): 修改一些字符格式

This commit is contained in:
2026-03-16 16:26:34 +08:00
parent 7111411115
commit 24bb76d039
+4 -4
View File
@@ -80,8 +80,8 @@ jobs:
# Validate branch name starts with 'release/v'
if ! echo "$BRANCH_NAME" | grep -qE '^release/v'; then
echo "X Error: Branch '$BRANCH_NAME' does not start with 'release/v'"
echo "X This workflow should only be triggered by release branches"
echo " Error: Branch '$BRANCH_NAME' does not start with 'release/v'"
echo " This workflow should only be triggered by release branches"
exit 1
fi
@@ -98,8 +98,8 @@ jobs:
TAG_NAME=$(echo "$BRANCH_NAME" | sed -E 's|^release/(v[0-9]+\.[0-9]+\.[0-9]+-.*)$|\1|')
IS_RC=true
else
echo "X Error: Branch '$BRANCH_NAME' does not match expected format"
echo "X Expected format: release/vX.Y.Z or release/vX.Y.Z-rcX"
echo " Error: Branch '$BRANCH_NAME' does not match expected format"
echo " Expected format: release/vX.Y.Z or release/vX.Y.Z-rcX"
exit 1
fi
VERSION="${TAG_NAME#v}"