mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-29 19:17:41 +00:00
fix(common): fixes triggering builds if no builds to start
If the PR only contains files that we ignore, we previously failed to finish the trigger build. This PR fixes the problem. The problem can be observed in #14271 which only changed a file in `resources/teamcity/common` which gets ignored in `find_platform_changes`. Test-bot: skip
This commit is contained in:
parent
6f7c21867e
commit
cbcbae473e
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ fi
|
|||
# Start test builds as required
|
||||
#
|
||||
|
||||
if (( ${#build_platforms[@]} > 0)); then
|
||||
if [[ ! -z ${build_platforms:-} ]] && (( ${#build_platforms[@]:-0} > 0)); then
|
||||
builder_echo heading "Start test builds"
|
||||
triggerTestBuilds build_platforms $PRNUM
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue