From 08e9d7e9f7f1bdd43a2070c9ee5abb16a8b8aaa0 Mon Sep 17 00:00:00 2001 From: Pierre Smeyers <pierre.smeyers@gmail.com> Date: Fri, 4 Oct 2024 09:27:03 +0200 Subject: [PATCH] fix(release): support full semantic-versioning specifcation (with prerelease and build metadata) --- templates/gitlab-ci-python.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/gitlab-ci-python.yml b/templates/gitlab-ci-python.yml index da42979..8686b0c 100644 --- a/templates/gitlab-ci-python.yml +++ b/templates/gitlab-ci-python.yml @@ -240,7 +240,7 @@ variables: # default integration ref name (pattern) INTEG_REF: '/^develop$/' # default release tag name (pattern) - RELEASE_REF: '/^v?[0-9]+\.[0-9]+\.[0-9]+$/' + RELEASE_REF: '/^v?[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9-\.]+)?(\+[a-zA-Z0-9-\.]+)?$/' # compileall PYTHON_COMPILE_ARGS: $[[ inputs.compile-args ]] @@ -622,7 +622,7 @@ variables: elif [[ -f "Pipfile" ]] then log_info "--- Build system auto-detected: Pipenv" - export PYTHON_BUILD_SYSTEM="pipenv" + export "pipenv" else log_error "--- Build system auto-detect failed: please read template doc" exit 1 -- GitLab