Skip to content
Snippets Groups Projects
Verified Commit 3e93e983 authored by Martin Weise's avatar Martin Weise
Browse files

Fixed pipeline for releasing lib

parent 0fff43ed
No related branches found
No related tags found
No related merge requests found
...@@ -587,9 +587,8 @@ release-libs: ...@@ -587,9 +587,8 @@ release-libs:
variables: variables:
PIPENV_PIPFILE: "./dbrepo-analyse-service/Pipfile" PIPENV_PIPFILE: "./dbrepo-analyse-service/Pipfile"
script: script:
- apk add sed - apk add sed bash
- pip install pipenv - pip install pipenv twine build
- pipenv install gunicorn && pipenv install --dev --system --deploy - pipenv install gunicorn && pipenv install --dev --system --deploy
- pip install twine build - bash ./lib/python/package.sh
- ./lib/python/package.sh - bash ./lib/python/release.sh
- ./lib/python/release.sh \ No newline at end of file
\ No newline at end of file
#!/bin/bash #!/bin/bash
cat ${CI_PIPYRC} | base64 -d > .pypirc echo "${CI_PIPYRC}" | base64 -d > .pypirc
python -m twine upload --config-file .pypirc --verbose --repository pypi ./lib/python/dist/dbrepo-* python -m twine upload --config-file .pypirc --verbose --repository pypi ./lib/python/dist/dbrepo-*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment