From eea6791245267f97f7001685995113766c8919c9 Mon Sep 17 00:00:00 2001 From: svroonland Date: Thu, 19 May 2022 22:03:05 +0200 Subject: [PATCH] Tweak build (#247) --- .circleci/config.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bed4079c..a36e452b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,4 +1,8 @@ version: 2.1 +parameters: + tag_regex: + type: string + default: /^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/ jobs: lint: docker: @@ -142,7 +146,7 @@ workflows: only: - master tags: - only: /^v.*/ + only: << pipeline.parameters.tag_regex >> - publish_docs: requires: - release