ci: failed to detect new canary version
This commit is contained in:
2
.github/actions/prepare-release/action.yml
vendored
2
.github/actions/prepare-release/action.yml
vendored
@@ -21,7 +21,7 @@ runs:
|
|||||||
if [ "${{ github.ref_type }}" == "tag" ]; then
|
if [ "${{ github.ref_type }}" == "tag" ]; then
|
||||||
APP_VERSION=$(echo "${{ github.ref_name }}" | sed 's/^v//')
|
APP_VERSION=$(echo "${{ github.ref_name }}" | sed 's/^v//')
|
||||||
else
|
else
|
||||||
APP_VERSION=$(date '+%Y.%-m.%-d-canary.%H')+build.$GIT_SHORT_HASH
|
APP_VERSION=$(date '+%Y.%-m.%-d-canary.%H%M')
|
||||||
fi
|
fi
|
||||||
if [[ "$APP_VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
if [[ "$APP_VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||||
BUILD_TYPE=stable
|
BUILD_TYPE=stable
|
||||||
|
|||||||
Reference in New Issue
Block a user