From d5ad3c7628f82bcd21e93952183b08c8ce091ca7 Mon Sep 17 00:00:00 2001 From: jem Date: Thu, 20 Jan 2022 19:06:33 +0100 Subject: [PATCH] release & upload only on tags --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 07e4173..3ea6095 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 != null' artifacts: paths: - dist/* @@ -91,6 +91,6 @@ build: pypi: stage: upload rules: - - if: '$CI_COMMIT_TAG == null' + - if: '$CI_COMMIT_TAG != null' script: - twine upload dist/* \ No newline at end of file