Make sure iOS pre-releases contain 'pre' and update changelog (#3475)
This commit is contained in:
4
.github/workflows/ios-ci.yml
vendored
4
.github/workflows/ios-ci.yml
vendored
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user