Skip to content
Snippets Groups Projects
Commit 61d18bae authored by Stefan Possanner's avatar Stefan Possanner
Browse files

Remove twine

parent d55caee0
Branches
Tags
1 merge request!14Remove twine
Pipeline #172140 passed
...@@ -26,12 +26,10 @@ default: ...@@ -26,12 +26,10 @@ default:
variables: variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
TWINE_USERNAME: __token__
TWINE_PASSWORD: pypi-AgEIcHlwaS5vcmcCJDE4YzU1YzIwLWVhY2QtNDQyZS04ODRjLTJjYTE3OTI3MDQ4YgACKlszLCI4NzYzODllYi05NWE4LTRlOTktYjg2Ny0zNDcwNDM5NjI2ZjciXQAABiD3B8VE_t8BNsezFEMcF2ZLblhgufgnrfXgCSmGuW5H4w
stages: stages:
- install_and_test - install_and_test
- release # - release
# Changes (e.g. apt install, pip install) do not persist across different GitLab CI jobs. # Changes (e.g. apt install, pip install) do not persist across different GitLab CI jobs.
# => Consolidate everything in GitLab CI into a single job, because the design is dumb. # => Consolidate everything in GitLab CI into a single job, because the design is dumb.
...@@ -73,17 +71,17 @@ install_and_test: ...@@ -73,17 +71,17 @@ install_and_test:
# release # release
deploy: # deploy:
stage: release # stage: release
rules: # rules:
- if: $CI_COMMIT_TAG # - if: $CI_COMMIT_TAG
when: never # when: never
- if: $CI_COMMIT_REF_NAME == "master" # - if: $CI_COMMIT_REF_NAME == "master"
before_script: # before_script:
- apt-get -qq update && apt-get -qq install -y gcc gfortran libblas-dev liblapack-dev libopenmpi-dev openmpi-bin # - apt-get -qq update && apt-get -qq install -y gcc gfortran libblas-dev liblapack-dev libopenmpi-dev openmpi-bin
- pip install -U pip build twine # - pip install -U pip build twine
script: # script:
- python -m build # - python -m build
- ls -lah dist # - ls -lah dist
- twine upload dist/* # - twine upload dist/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment