ci: failed to detect new canary version

This commit is contained in:
liuyi 2025-06-24 14:46:07 +08:00
parent 9e1fa23c5e
commit cece56802b
No known key found for this signature in database

View File

@ -21,7 +21,7 @@ runs:
if [ "${{ github.ref_type }}" == "tag" ]; then
APP_VERSION=$(echo "${{ github.ref_name }}" | sed 's/^v//')
else
APP_VERSION=$(date '+%Y.%-m.%-d-canary.%H')+build.$GIT_SHORT_HASH
APP_VERSION=$(date '+%Y.%-m.%-d-canary.%H%M')
fi
if [[ "$APP_VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
BUILD_TYPE=stable