From 0c283320654d9b08531670ad43fb3d63cf4df74b Mon Sep 17 00:00:00 2001 From: Steven Clouston Date: Wed, 9 Oct 2024 14:53:12 +1300 Subject: [PATCH] Fix GitHub release process (#23) * Fix Github Release process * Bump version --- .github/workflows/publish-to-pypi.yml | 8 +++----- authsignal/version.py | 2 +- pyproject.toml | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 7e697ac..b232f39 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -108,11 +108,9 @@ jobs: - name: Create GitHub Release env: GITHUB_TOKEN: ${{ github.token }} - run: >- - gh release create - '${{ github.ref_name }}' - --repo '${{ github.repository }}' - --notes "" + run: | + gh release view '${{ github.ref_name }}' --repo '${{ github.repository }}' || \ + gh release create '${{ github.ref_name }}' --repo '${{ github.repository }}' --notes "" - name: Upload artifact signatures to GitHub Release env: GITHUB_TOKEN: ${{ github.token }} diff --git a/authsignal/version.py b/authsignal/version.py index fa8968b..f1f5a0e 100644 --- a/authsignal/version.py +++ b/authsignal/version.py @@ -1 +1 @@ -VERSION = '2.0.5' +VERSION = '2.0.6' diff --git a/pyproject.toml b/pyproject.toml index 69d9485..295b795 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "authsignal" -version = "2.0.5" +version = "2.0.6" description = "Authsignal Python SDK for Passwordless Step Up Authentication" authors = ["justinsoong "] license = "MIT"