From 9bd0b125bd955324a5300614e0de3adecac61366 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Fri, 23 May 2014 19:23:03 +0000 Subject: [PATCH] Allow integer-only release tags * modules/openstack_project/files/zuul/layout.yaml: Support projects which may just tag releases with integers. Change-Id: I9448950a0670625a2517fa6e3c58677a2d66e7df --- modules/openstack_project/files/zuul/layout.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index 652868a36a..a3ce3286b6 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -118,7 +118,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. @@ -127,7 +127,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.