From 44f6f9a1e0df312eeb195d2f38ef519beb374d9e Mon Sep 17 00:00:00 2001
From: Anton Tetov <anton@tetov.se>
Date: Mon, 11 Apr 2022 17:14:03 +0200
Subject: [PATCH] fix ci publish

---
 .gitlab-ci.yml | 5 ++---
 pyproject.toml | 2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 59e683b..7bce089 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,7 +4,6 @@ variables:
   PIP_CACHE_DIR: "${CI_PROJECT_DIR}/.cache/pip"
   PRE_COMMIT_HOME: "${CI_PROJECT_DIR}/.cache/pre-commit"
   PYPI_TOKEN: "$PYPI_TOKEN"
-  CI_DEBUG_TRACE: "true"
 
 cache:
   key: "${CI_JOB_NAME}"
@@ -67,8 +66,8 @@ test_py3.10:
 
 publish:
   stage: publish
-  #only:
-   # - /^v(\d+\.)(\d+\.)(\d+)$/
+  only:
+  - /^v(\d+\.)(\d+\.)(\d+)$/
   script:
     - make build
     - poetry publish --username=__token__ --password="$PYPI_TOKEN"
diff --git a/pyproject.toml b/pyproject.toml
index ea1dae1..f485d20 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
 
 [tool.poetry]
 name = "ur_py_ctl"
-version = "0.1.1"
+version = "0.1.3"
 description = "Python wrapper around URScript (for Universal Robotics robots)."
 authors = ["Anton Tetov <anton.johansson@control.lth.se>"]
 repository = "https://gitlab.control.lth.se/robotlab/ur_py_ctl"
-- 
GitLab