From f7e30cbb8608cdb1148f528d558e94af8a442e40 Mon Sep 17 00:00:00 2001
From: Anton Tetov Johansson <anton@tetov.se>
Date: Wed, 6 Apr 2022 15:58:31 +0000
Subject: [PATCH] Update .gitlab-ci.yml file

---
 .gitlab-ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 36b3827..a4626a8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -43,7 +43,6 @@ run-pre-commit:
   <<: *quality
   script: make check
 
-
 # Tests jobs
 
 python3.9:
@@ -64,7 +63,8 @@ publish:
   <<: *install-deps
   stage: publish
   image: python:3.10
-  only: /^v(\d+\.)?(\d+\.)?(\*|\d+)$/
+  only:
+    - /^v(\d+\.)(\d+\.)(\d+)$/
   script:
     - make build
-    - poetry publish -username=__token__ --password=$PYPI_TOKEN
+    - poetry publish -username=__token__ --password=$PYPI_TOKEN
\ No newline at end of file
-- 
GitLab