Skip to content
Snippets Groups Projects
Commit c044f6f6 authored by Krzysztof Mochocki's avatar Krzysztof Mochocki
Browse files

Add copying of dist, if build happened in different directory

parent 12db226c
No related branches found
No related tags found
1 merge request!39Add copying of dist, if build happened in different directory
Pipeline #103010 passed
...@@ -159,6 +159,7 @@ variables: ...@@ -159,6 +159,7 @@ variables:
- ls -al - ls -al
- poetry -C "${PYPROJECT_DIR}" version - poetry -C "${PYPROJECT_DIR}" version
- poetry -C "${PYPROJECT_DIR}" build --format wheel - poetry -C "${PYPROJECT_DIR}" build --format wheel
- if [ -d "${PYPROJECT_DIR}/dist" ] && [ ! -d "dist" ]; then cp -r "${PYPROJECT_DIR}/dist" "dist"; fi
- ls -al dist/ - ls -al dist/
after_script: after_script:
- WHEEL_BUILD_VERSION=$(poetry -C "${PYPROJECT_DIR}" version -s) - WHEEL_BUILD_VERSION=$(poetry -C "${PYPROJECT_DIR}" version -s)
...@@ -167,6 +168,7 @@ variables: ...@@ -167,6 +168,7 @@ variables:
artifacts: artifacts:
expire_in: 1 week expire_in: 1 week
paths: paths:
- "${PYPROJECT_DIR}/dist"
- dist/ - dist/
- build_wheel.env - build_wheel.env
reports: reports:
......
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