Skip to content
Snippets Groups Projects
Commit 8b3a2399 authored by Daniel Lyons's avatar Daniel Lyons
Browse files

Merge branch 'fixing-build' into '2.8.2-DEVELOPMENT'

Another try

See merge request !1367
parents 66675206 ce5bb458
No related branches found
No related tags found
2 merge requests!1452Merge 2.8.2 to main,!1367Another try
Pipeline #9962 failed
......@@ -6,8 +6,8 @@
- WD=$PWD
- cd ${PEX_PATH}
- poetry install --with test
- pytest test
- NAME=$(awk -F' = ' '/^\[tool.poetry\]/ { project = 1; next } /^\[.*\]/ { project = 0 } project && $1 == "name" { gsub(/"/, "", $2); print $2 }' pyproject.toml)
- VERSION=$(sed -n 's/^__version__ = "\(.*\)\"$/\1/p' */__init__.py)
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file ${PEX_PATH}/dist/${NAME}-${VERSION}-py3-none-any.whl "$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/generic/${NAME}/${VERSION}/${NAME}-${VERSION}-py3-none-any.whl"'
- pytest test
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file dist/${NAME}-${VERSION}-py3-none-any.whl "$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/generic/${NAME}/${VERSION}/${NAME}-${VERSION}-py3-none-any.whl"'
- cd $WD
\ No newline at end of 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