Loading .gitlab-ci.yml +18 −1 Original line number Diff line number Diff line Loading @@ -115,7 +115,7 @@ Check Tag: END Upload Package: Upload Package (Test): stage: deploy extends: [.python] needs: ["Build Package"] Loading @@ -132,6 +132,23 @@ Upload Package: dist/* Upload Package (PyPI): stage: deploy extends: [.python] needs: ["Build Package"] rules: - if: $PYPI_TOKEN && $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+$$/ when: manual script: - pip install twine - TWINE_USERNAME=__token__ TWINE_PASSWORD=$PYPI_TOKEN twine upload --verbose --non-interactive dist/* Documentation: stage: build extends: [.python] Loading Loading
.gitlab-ci.yml +18 −1 Original line number Diff line number Diff line Loading @@ -115,7 +115,7 @@ Check Tag: END Upload Package: Upload Package (Test): stage: deploy extends: [.python] needs: ["Build Package"] Loading @@ -132,6 +132,23 @@ Upload Package: dist/* Upload Package (PyPI): stage: deploy extends: [.python] needs: ["Build Package"] rules: - if: $PYPI_TOKEN && $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+$$/ when: manual script: - pip install twine - TWINE_USERNAME=__token__ TWINE_PASSWORD=$PYPI_TOKEN twine upload --verbose --non-interactive dist/* Documentation: stage: build extends: [.python] Loading