diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 3b5b4d89..05798bd1 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -374,6 +374,9 @@ jobs: runs-on: ubuntu-latest + permissions: + id-token: write + if: startsWith(github.ref, 'refs/tags/v') steps: @@ -397,15 +400,12 @@ jobs: - name: Publish distribution to Test PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: - password: ${{ secrets.TEST_PYPI_API_TOKEN }} - repository_url: https://test.pypi.org/legacy/ + repository-url: https://test.pypi.org/legacy/ # Only non-alpha releases go to the official PyPi - name: Publish distribution to PyPI (official release) if: contains(github.ref, 'alpha') != true uses: pypa/gh-action-pypi-publish@master - with: - password: ${{ secrets.PYPI_API_TOKEN }} push_to_registry: name: Push Docker image to Docker Hub diff --git a/pierky/arouteserver/version.py b/pierky/arouteserver/version.py index 1c55169b..c5c8ebbb 100644 --- a/pierky/arouteserver/version.py +++ b/pierky/arouteserver/version.py @@ -13,5 +13,5 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -__version__ = "1.21.2" # pragma: no cover +__version__ = "1.21.3-alpha3" # pragma: no cover COPYRIGHT_YEAR = 2023 # pragma: no cover