Skip to content
Snippets Groups Projects
Verified Commit 757dbd58 authored by Janis Streib's avatar Janis Streib :owl:
Browse files

FIX: keep artifacts longer and print env

parent dab32b24
No related branches found
No related tags found
No related merge requests found
Pipeline #276469 passed
......@@ -40,12 +40,13 @@ build:
- test -d latest/dist && export LATEST_UTIL_VERSION=$(cd latest/dist; ls *.whl | sed -r 's/.*\+([a-z0-9.]+)-.*/\1/g')
- test -d latest/dist && export LATEST_API_VERSION=$(cd latest/dist; ls *.whl | sed -r 's/netdb_client-([0-9]+\.[0-9]+\.[0-9]+).*/\1/g')
- test -d latest/dist && export POST_NUM=$(cd latest/dist; ls *.whl | sed -r 's/.*\.post([0-9]+).*/\1/g')
- env
- python3 -m build
- TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python3 -m twine upload --verbose --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi --skip-existing dist/*
artifacts:
paths:
- dist/*
expire_in: 2 days
expire_in: 7 days
only:
- main
- devel
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment