From ed948ae9b79971c1b50acb892bb2dc1afa0f3ff6 Mon Sep 17 00:00:00 2001
From: Martin Weise <martin.weise@tuwien.ac.at>
Date: Tue, 9 Apr 2024 20:07:15 +0200
Subject: [PATCH] Fixed PyPI rc

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 08b0674345..8eda77e96f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -594,5 +594,5 @@ release-libs:
     - 'sed -i -e "s/__APPVERSION__/${APP_VERSION}/g" ./lib/python/pyproject.toml ./lib/python/setup.py ./lib/python/README.md'
     - python -m build --sdist ./lib/python
     - python -m build --wheel ./lib/python
-    - printf "[diskutils]\nindex-servers =\n    pypi\n\n[pypi]\nusername = __token__\npassword = ${CI_PIPY_TOKEN}\nrepository = https://upload.pypi.org/legacy/" > .pypirc
+    - cat ${CI_PIPYRC} | base64 -d > .pypirc
     - python -m twine upload --config-file .pypirc --verbose --repository pypi ./lib/python/dist/dbrepo-*
\ No newline at end of file
-- 
GitLab