Make sure iOS pre-releases contain 'pre' and update changelog (#3475)

This commit is contained in:
Bart Louwers
2025-05-16 01:14:16 +02:00
committed by GitHub
parent ff38ee609e
commit 30f3231396
2 changed files with 13 additions and 0 deletions

View File

@@ -271,6 +271,10 @@ jobs:
if [[ -z "$version" ]]; then
version="$(head VERSION)"-pre${{ github.sha }}
fi
if [[ "$version" != *"pre"* ]]; then
echo "::error::Pre-release version must include 'pre' (Current version: $version)"
exit 1
fi
echo version="$version" >> "$GITHUB_ENV"
echo changelog_version_heading="## main" >> "$GITHUB_ENV"