fix CI attempt 2

This commit is contained in:
bobokun 2025-08-30 09:36:24 -04:00
parent f24f069408
commit 523d020dc9
No known key found for this signature in database
GPG key ID: B73932169607D927
2 changed files with 4 additions and 1 deletions

View file

@ -1 +1 @@
4.5.6-develop16
4.5.6-develop17

View file

@ -23,6 +23,9 @@ if [[ "$IN_CI" == "true" ]]; then
CURRENT_BRANCH_CI="${GITHUB_HEAD_REF:-$(git rev-parse --abbrev-ref HEAD 2>/dev/null || echo '')}"
if [[ "$CURRENT_BRANCH_CI" == *"develop"* ]]; then
BASE_REF="develop"
elif grep -q "develop" VERSION 2>/dev/null; then
# If VERSION contains "develop" but branch doesn't, still assume base is "develop"
BASE_REF="develop"
else
BASE_REF="$DEFAULT_BASE"
fi