From e85539417d60f818e1f3e8305c6526c818c882a3 Mon Sep 17 00:00:00 2001 From: My Date: Wed, 20 Mar 2019 17:05:42 -0700 Subject: [PATCH] ci: only create artifact for release on tag with pattern v2* (#698) --- release-pipeline.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/release-pipeline.yml b/release-pipeline.yml index a63352da0b..c77f129ee0 100644 --- a/release-pipeline.yml +++ b/release-pipeline.yml @@ -1,5 +1,5 @@ -trigger: - - v2 # disable CI build for branch except v2 +trigger: + - refs/tags/v2* # only run build on tag with this pattern pr: none # disable CI build for PR jobs: @@ -31,4 +31,4 @@ jobs: steps: - checkout: self # self represents the repo where the initial Pipelines YAML file was found fetchDepth: 1 # the depth of commits to ask Git to fetch - - template: azure-pipelines/windows/artifact-build-windows.yml \ No newline at end of file + - template: azure-pipelines/windows/artifact-build-windows.yml