From 382c571d424e1e7d2d8dae22be2fa29da7502433 Mon Sep 17 00:00:00 2001 From: jem Date: Fri, 21 Jan 2022 13:31:00 +0100 Subject: [PATCH] release --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5412ccf..ef19b0b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -81,7 +81,7 @@ test-1.1.3: build: stage: build rules: - - if: '$CI_COMMIT_TAG != null' + - if: '$CI_COMMIT_TAG =~ /^release-.*$/' artifacts: paths: - dist/* @@ -91,7 +91,7 @@ build: pypi: stage: upload rules: - - if: '$CI_COMMIT_TAG =~ /^release.-*$/' + - if: '$CI_COMMIT_TAG =~ /^release-.*$/' script: - twine upload dist/* @@ -99,7 +99,7 @@ gitlab: image: registry.gitlab.com/gitlab-org/release-cli:latest stage: upload rules: - - if: '$CI_COMMIT_TAG =~ /^release.-*$/' + - if: '$CI_COMMIT_TAG =~ /^release-.*$/' artifacts: paths: - release/*