Skip to content
Snippets Groups Projects
Commit 3a4c4493 authored by Thibault Debatty's avatar Thibault Debatty
Browse files

(try to) upload whl package

parent aee91ca9
No related branches found
No related tags found
No related merge requests found
Pipeline #10411 failed
......@@ -36,6 +36,9 @@ build:
- apt-get install -y gettext-base
- apt-get install -y python3-venv
- python3 -m pip install --upgrade build
# packages are readable only by root
# => causes curl error at upload :-/
- chmod -R a+r dist
script:
# create the new docker-compose
- envsubst < pyproject.tmpl > pyproject.toml
......@@ -65,7 +68,6 @@ upload:
- WHL_FILE_PATH="dist/$WHL_FILE"
# curl requires absolute path!
- WHL_FILE_PATH_ABS=`realpath $WHL_FILE_PATH`
- chmod -R a+r dist
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file "$WHL_FILE_PATH_ABS" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/$CI_COMMIT_TAG/$WHL_FILE"'
......
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