diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ad1d0f0..c7801f9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -82,7 +82,7 @@ deploy-package: - test-docs - test only: - - main + - master script: - pip install twine - TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/* diff --git a/README.rst b/README.rst index 4534e68..5b1a945 100644 --- a/README.rst +++ b/README.rst @@ -143,10 +143,10 @@ You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/. -.. |CI| image:: https://codebase.helmholtz.cloud/psyplot/psy-view/badges/main/pipeline.svg - :target: https://codebase.helmholtz.cloud/psyplot/psy-view/-/pipelines?page=1&scope=all&ref=main -.. |Code coverage| image:: https://codebase.helmholtz.cloud/psyplot/psy-view/badges/main/coverage.svg - :target: https://codebase.helmholtz.cloud/psyplot/psy-view/-/graphs/main/charts +.. |CI| image:: https://codebase.helmholtz.cloud/psyplot/psy-view/badges/master/pipeline.svg + :target: https://codebase.helmholtz.cloud/psyplot/psy-view/-/pipelines?page=1&scope=all&ref=master +.. |Code coverage| image:: https://codebase.helmholtz.cloud/psyplot/psy-view/badges/master/coverage.svg + :target: https://codebase.helmholtz.cloud/psyplot/psy-view/-/graphs/master/charts .. |Latest Release| image:: https://codebase.helmholtz.cloud/psyplot/psy-view/-/badges/release.svg :target: https://codebase.helmholtz.cloud/psyplot/psy-view .. |PyPI version| image:: https://img.shields.io/pypi/v/psy-view.svg diff --git a/docs/index.rst b/docs/index.rst index e44f2f7..1716633 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -134,10 +134,10 @@ Indices and tables * :ref:`search` -.. |CI| image:: https://codebase.helmholtz.cloud/psyplot/psy-view/badges/main/pipeline.svg - :target: https://codebase.helmholtz.cloud/psyplot/psy-view/-/pipelines?page=1&scope=all&ref=main -.. |Code coverage| image:: https://codebase.helmholtz.cloud/psyplot/psy-view/badges/main/coverage.svg - :target: https://codebase.helmholtz.cloud/psyplot/psy-view/-/graphs/main/charts +.. |CI| image:: https://codebase.helmholtz.cloud/psyplot/psy-view/badges/master/pipeline.svg + :target: https://codebase.helmholtz.cloud/psyplot/psy-view/-/pipelines?page=1&scope=all&ref=master +.. |Code coverage| image:: https://codebase.helmholtz.cloud/psyplot/psy-view/badges/master/coverage.svg + :target: https://codebase.helmholtz.cloud/psyplot/psy-view/-/graphs/master/charts .. |Latest Release| image:: https://codebase.helmholtz.cloud/psyplot/psy-view/-/badges/release.svg :target: https://codebase.helmholtz.cloud/psyplot/psy-view .. |PyPI version| image:: https://img.shields.io/pypi/v/psy-view.svg @@ -150,6 +150,5 @@ Indices and tables :target: https://www.python.org/dev/peps/pep-0008/ .. |Checked with mypy| image:: http://www.mypy-lang.org/static/mypy_badge.svg :target: http://mypy-lang.org/ -.. TODO: uncomment the following line when the package is registered at https://api.reuse.software -.. .. |REUSE status| image:: https://api.reuse.software/badge/codebase.helmholtz.cloud/psyplot/psy-view -.. :target: https://api.reuse.software/info/codebase.helmholtz.cloud/psyplot/psy-view +.. |REUSE status| image:: https://api.reuse.software/badge/codebase.helmholtz.cloud/psyplot/psy-view + :target: https://api.reuse.software/info/codebase.helmholtz.cloud/psyplot/psy-view