Skip to content
Snippets Groups Projects
Commit 897d742f authored by Corné Lukken's avatar Corné Lukken
Browse files

Merge branch 'publish-to-pypi' into 'main'

Add job to publish to pypi

See merge request !5
parents db619244 80c8d75c
No related branches found
No related tags found
1 merge request!5Add job to publish to pypi
Pipeline #110273 canceled
Pipeline: Cryptocoryne

#110274

    ...@@ -192,13 +192,10 @@ publish_on_pypi: ...@@ -192,13 +192,10 @@ publish_on_pypi:
    - if: '$CI_COMMIT_TAG && $CI_COMMIT_REF_PROTECTED == "true"' - if: '$CI_COMMIT_TAG && $CI_COMMIT_REF_PROTECTED == "true"'
    script: script:
    - echo "run twine for pypi" - echo "run twine for pypi"
    # - | - |
    # TWINE_PASSWORD=${PIPY_TOKEN} \ TWINE_PASSWORD="${PYPI_TOKEN}" \
    # TWINE_USERNAME=${PIPY_USERNAME} \ TWINE_USERNAME="__token__" \
    # TODO: replace URL with a pipy URL python -m twine upload dist/*
    # python -m twine upload \
    # --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*
    - exit 1
    publish_to_readthedocs: publish_to_readthedocs:
    stage: publish stage: publish
    ......
    ...@@ -7,7 +7,7 @@ url = https://git.astron.nl/lofar2.0/cryptocoryne ...@@ -7,7 +7,7 @@ url = https://git.astron.nl/lofar2.0/cryptocoryne
    license = Apache License 2.0 license = Apache License 2.0
    classifiers = classifiers =
    Development Status :: 3 - Alpha Development Status :: 3 - Alpha
    Environment :: Web Environment Environment :: No Input/Output (Daemon)
    Intended Audience :: Developers Intended Audience :: Developers
    Intended Audience :: Science/Research Intended Audience :: Science/Research
    License :: OSI Approved :: Apache Software License License :: OSI Approved :: Apache Software License
    ...@@ -19,8 +19,7 @@ classifiers = ...@@ -19,8 +19,7 @@ classifiers =
    Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.10
    Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.11
    Programming Language :: Python :: 3.12 Programming Language :: Python :: 3.12
    Topic :: Internet :: WWW/HTTP Topic :: Security
    Topic :: Internet :: WWW/HTTP :: Dynamic Content
    Topic :: Scientific/Engineering Topic :: Scientific/Engineering
    Topic :: Scientific/Engineering :: Astronomy Topic :: Scientific/Engineering :: Astronomy
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment