[ci] pre-fix the not-executed pypi deploy script

parent 692cacda
......@@ -1008,6 +1008,9 @@ pypi:
- ${CI_PROJECT_DIR}/${ARCHIVE_DIR}/pymor*manylinux*whl
expire_in: 6 months
name: pymor-wheels
before_script:
- apk add py3-pip
- pip3 install twine
script:
- ${CI_PROJECT_DIR}/.ci/gitlab/pypi_deploy.bash
environment:
......
#!/bin/bash
set -e
mkdir ${CI_PROJECT_DIR}/${ARCHIVE_DIR} && mv ${CI_PROJECT_DIR}/shared/*whl ${CI_PROJECT_DIR}/${ARCHIVE_DIR}
cd ${CI_PROJECT_DIR}
python setup.py sdist -d ${ARCHIVE_DIR} --format=gztar
python3 setup.py sdist -d ${ARCHIVE_DIR} --format=gztar
if [[ "x${CI_COMMIT_TAG}" == "x" ]] ; then
TWINE_REPOSITORY=testpypi
......@@ -15,4 +17,5 @@ else
TWINE_PASSWORD=${PYPI_USER}
fi
export TWINE_NON_INTERACTIVE=1
# disabled. See https://github.com/pymor/pymor/issues/551
#twine upload --verbose ${CI_PROJECT_DIR}/${ARCHIVE_DIR}/pymor*.whl ${CI_PROJECT_DIR}/${ARCHIVE_DIR}/pymor*tar.gz
......@@ -334,6 +334,9 @@ pypi:
- ${CI_PROJECT_DIR}/${ARCHIVE_DIR}/pymor*manylinux*whl
expire_in: 6 months
name: pymor-wheels
before_script:
- apk add py3-pip
- pip3 install twine
script:
- ${CI_PROJECT_DIR}/.ci/gitlab/pypi_deploy.bash
environment:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment