diff --git a/.github/workflows/pyrealm_publish.yaml b/.github/workflows/pyrealm_publish.yaml index b9fa94b3..af2ef729 100644 --- a/.github/workflows/pyrealm_publish.yaml +++ b/.github/workflows/pyrealm_publish.yaml @@ -79,7 +79,7 @@ jobs: # The final job in the workflow is to publish to the real PyPI as long as the release # name does not contain the tag 'test-pypi-only' publish-PyPI: - if: ${{ ! contains('test-pypi-only', github.event.release.name)}} + if: ${{ ! contains(github.event.release.name, 'test-pypi-only')}} needs: publish-TestPyPI name: Publish pyrealm to PyPI runs-on: ubuntu-latest @@ -87,12 +87,6 @@ jobs: id-token: write steps: - # Echo the release name - - name: Echo release name - run: | - echo ${{github.event.release.name}} - echo ${{ contains('test-pypi-only', github.event.release.name)}} - echo ${{ ! contains('test-pypi-only', github.event.release.name)}} # Download the built package files from the job artifacts - name: Download sdist artifact uses: actions/download-artifact@v4 diff --git a/pyproject.toml b/pyproject.toml index 13189c20..29046b26 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ packages = [ ] readme = "README.md" repository = "https://github.com/davidorme/pyrealm" -version = "1.0.1a2" +version = "1.0.1a3" [tool.poetry.dependencies] dacite = "^1.6.0"