Skip to content

Commit

Permalink
prerelease bump, testing publication process
Browse files Browse the repository at this point in the history
  • Loading branch information
davidorme committed Apr 4, 2024
1 parent 7bf55ac commit 8e3941b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/pyrealm_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,14 @@ 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
permissions:
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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8e3941b

Please sign in to comment.