Skip to content

Commit

Permalink
chore: only publish to pypi on tags (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker authored Nov 22, 2023
1 parent dc18fdb commit ae9cbac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
url: https://pypi.org/p/invert4geom
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
if: github.ref == 'refs/heads/main' && github.event.action == 'published'
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
runs-on: ubuntu-latest

steps:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ classifiers = [
"Typing :: Typed",
]
readme = "README.md"
version = "0.1.4"
version = "0.1.5"

dependencies = [
"numpy",
Expand Down

0 comments on commit ae9cbac

Please sign in to comment.