Skip to content

Commit

Permalink
Update badge displaying total number of downloads (tektronix#41)
Browse files Browse the repository at this point in the history
* ci: Add strict flag to github release upload.

* docs: Update link to badge with the total number of downloads.
Signed-off-by: v12ganesh [email protected]
  • Loading branch information
nfelt14 authored Oct 23, 2023
1 parent 62a9f25 commit c4deb62
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/package-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

______________________________________________________________________

Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c4deb62

Please sign in to comment.