fix(ci): make release branches work

This commit is contained in:
Songtronix 2020-05-20 15:12:53 +02:00
parent 69c65808dd
commit e8ba1b9767

View File

@ -1,4 +1,4 @@
# Template to only run if pushes to master or a tag happened
.release:
rules:
- if: $CI_COMMIT_REF_NAME =~ /^master.$/ || $CI_COMMIT_TAG =~ /^r[0-9]+\.[0-9]+\.[0-9]+/ || $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+/
- if: $CI_COMMIT_REF_NAME =~ /^master.$/ || $CI_COMMIT_TAG =~ /^r[0-9]+\.[0-9]+\.[0-9]+/ || $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+/