29fd756408 replaced "only" with "rules" in .gitlab-ci.yml but forgot to drop the removal from here, hence the script was broken. (cherry picked from commit 6e2272d769)
29fd756408
6e2272d769