diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index 327071bd91..16b72f036f 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -107,7 +107,7 @@ pipelines: trigger: gerrit: - event: ref-updated - ref: ^refs/tags/([0-9]+\.)+[0-9]*(alpha|beta|candidate|rc|a|b|c|r|g)[0-9]*$ + ref: ^refs/tags/([0-9]+\.?)+(alpha|beta|candidate|rc|a|b|c|r|g)[0-9]*$ - name: release description: When a commit is tagged as a release, this pipeline runs jobs that publish archives and documentation. @@ -116,7 +116,7 @@ pipelines: trigger: gerrit: - event: ref-updated - ref: ^refs/tags/([0-9]+\.)+[0-9]+$ + ref: ^refs/tags/([0-9]+\.)*[0-9]+$ - name: silent description: This pipeline is used for silently testing new jobs.