diff --git a/.github/workflows/package-release.yml b/.github/workflows/package-release.yml index 3b12def3..e3ab332b 100644 --- a/.github/workflows/package-release.yml +++ b/.github/workflows/package-release.yml @@ -123,6 +123,7 @@ jobs: - name: Publish package distributions to GitHub Releases uses: python-semantic-release/upload-to-gh-release@main with: + root_options: -v --strict github_token: ${{ secrets.GITHUB_TOKEN }} pypi-install: name: Install package diff --git a/CHANGELOG.md b/CHANGELOG.md index e2796c4a..01af5b1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ Things to be included in the next release go here. ### Fixed - Updated permissions for the release workflow to allow it to upload the distribution files to the GitHub Release +- Updated the README to include the correct link to the badge displaying the total number of package downloads ______________________________________________________________________ diff --git a/README.rst b/README.rst index ef756b94..abc8f5ef 100644 --- a/README.rst +++ b/README.rst @@ -17,7 +17,7 @@ * - Code Quality - |CodeQL status| |CodeFactor grade| |pre-commit status| * - Package - - |PyPI: Package status| |PyPI: Latest release version| |PyPI: Supported Python versions| |License: Apache 2.0| |PyPI: Downloads| |Package build status| |PyPI upload status| |TestPyPI upload status| + - |PyPI: Package status| |PyPI: Latest release version| |PyPI: Supported Python versions| |PyPI: Downloads| |License: Apache 2.0| |Package build status| |PyPI upload status| |TestPyPI upload status| * - Documentation - |Documentation status| * - Code Style @@ -70,7 +70,7 @@ .. |PyPI: Supported Python versions| image:: https://img.shields.io/pypi/pyversions/tm_devices?logo=python :target: https://pypi.org/project/tm_devices/ -.. |PyPI: Downloads| image:: https://pepy.tech/badge/tm_devices +.. |PyPI: Downloads| image:: https://pepy.tech/badge/tm-devices :target: https://pepy.tech/project/tm_devices .. |Code style: black| image:: https://img.shields.io/badge/code%20style-black-black