Skip to content
Snippets Groups Projects

Resolve "Automated build"

Merged Mayr, Hannes requested to merge 37-automated-build into dev
1 unresolved thread

Closes #37 (closed) Packaging, uploading the package and creating a gitlab release is now triggered by adding a new tag (not a release!). The release notes of the new tag MUST be empty.
Packaging and uploading should work. For now it points to the testpypi instance. After testing it from creating a test-tag, we can point the upload URL to the production instance of PyPI.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
95 94
96 95 build_and_upload:
97 96 stage: package
98 needs: []
99 97 script:
100 98 - pip install build twine
101 99 - python3 -m build
102 100 - TWINE_PASSWORD=${CI_PYPI_TOKEN} TWINE_USERNAME=__token__ python3 -m twine upload --repository testpypi dist/*
103 101 rules:
104 - if: "$CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH"
105 - when: manual
102 - if: $CI_COMMIT_TAG
  • Mayr, Hannes added 1 commit

    added 1 commit

    • ed4c908b - Adjust version for test upload.

    Compare with previous version

  • Mayr, Hannes added 1 commit

    added 1 commit

    Compare with previous version

  • Mayr, Hannes added 2 commits

    added 2 commits

    Compare with previous version

  • Mayr, Hannes added 1 commit

    added 1 commit

    • accd5862 - Change package destination to pypi.org and not the test instance anymore.

    Compare with previous version

  • Mayr, Hannes marked this merge request as ready

    marked this merge request as ready

  • Mayr, Hannes mentioned in commit e63ca243

    mentioned in commit e63ca243

  • merged

  • Please register or sign in to reply
    Loading