From 51fad2a5814b60d27be41f9f27ce9a786f805c55 Mon Sep 17 00:00:00 2001 From: thevickypedia Date: Mon, 9 Jan 2023 15:38:23 -0600 Subject: [PATCH] Fix GitHub actions Add labels in README.md --- .github/workflows/python-publish.yml | 7 +++---- README.md | 13 +++++++++++-- notifier/__init__.py | 2 +- release_notes.rst | 5 +++++ 4 files changed, 20 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 2340fd5..a76497d 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -23,13 +23,12 @@ jobs: run: | python -m pip install --upgrade pip pip install build twine - - name: Set env vars - env: - TWINE_USERNAME: ${{ secrets.PYPI_USER }} - TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} - name: Create packages run: python -m build - name: Run twine check run: twine check dist/* - name: Upload to pypi + env: + TWINE_USERNAME: ${{ secrets.PYPI_USER }} + TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} run: twine upload dist/*.whl diff --git a/README.md b/README.md index 6358db4..99c7578 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,12 @@ +**Platform Supported** + +![Generic badge](https://img.shields.io/badge/Platform-Linux|MacOS|Windows-1f425f.svg) + +**Deployments** + +[![pages-build-deployment](https://github.com/thevickypedia/pynotification/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/thevickypedia/pynotification/actions/workflows/pages/pages-build-deployment) +[![pypi](https://github.com/thevickypedia/pynotification/actions/workflows/python-publish.yml/badge.svg)](https://github.com/thevickypedia/pynotification/actions/workflows/python-publish.yml) + # PyNotification Python module to trigger system notifications on Linux, Windows and macOS @@ -50,12 +59,12 @@ pre-commit run --all-files ## Pypi Package [![pypi-module](https://img.shields.io/badge/Software%20Repository-pypi-1f425f.svg)](https://packaging.python.org/tutorials/packaging-projects/) -[https://pypi.org/project/jarvis-ironman/](https://pypi.org/project/jarvis-ironman/) +[https://pypi.org/project/pynotification/](https://pypi.org/project/pynotification/) ## Runbook [![made-with-sphinx-doc](https://img.shields.io/badge/Code%20Docs-Sphinx-1f425f.svg)](https://www.sphinx-doc.org/en/master/man/sphinx-autogen.html) -[https://thevickypedia.github.io/pynotification/](https://thevickypedia.github.io/Jarvis/) +[https://thevickypedia.github.io/pynotification/](https://thevickypedia.github.io/pynotification/) ## License & copyright diff --git a/notifier/__init__.py b/notifier/__init__.py index afe1209..10de845 100644 --- a/notifier/__init__.py +++ b/notifier/__init__.py @@ -2,4 +2,4 @@ from .notify import notify # noqa: F401 -version = "0.0.5" +version = "0.0.6" diff --git a/release_notes.rst b/release_notes.rst index 7240443..29dd1f6 100644 --- a/release_notes.rst +++ b/release_notes.rst @@ -1,6 +1,11 @@ Release Notes ============= +0.0.6 (01/09/2023) +------------------ +- Fix GitHub actions +- Add labels in README.md + 0.0.5 (01/09/2023) ------------------ - Add GitHub actions to build on releases