Do not check out tag in android-release.yml (#3480)

This commit is contained in:
Bart Louwers
2025-05-16 18:32:22 +02:00
committed by GitHub
parent b585b0086f
commit f5cfbc898d
3 changed files with 3 additions and 36 deletions

View File

@@ -3,7 +3,7 @@
validate_version() {
local version="$1"
if [[ ! "$version" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-pre.*)?$ ]]; then
echo "::error::Invalid version format in VERSION file. Expected: X.Y.Z or X.Y.Z-pre*"
echo "::error::Invalid version '$version' in $(realpath VERSION). Expected: X.Y.Z or X.Y.Z-pre*"
return 1
fi
return 0
@@ -11,7 +11,7 @@ validate_version() {
version=$(cat VERSION 2>/dev/null)
if [ -z "$version" ]; then
echo "::error::VERSION file not found or empty"
echo "::error::No VERSION file found or empty in $PWD"
exit 1
fi