Skip to content

Commit

Permalink
Add explicit if statement to release only on publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael O'Keefe authored and Michael O'Keefe committed Dec 13, 2024
1 parent fdda5ab commit f5dddad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:
name: release files to PyPI
runs-on: ubuntu-latest
# Protection Strategies -- use ONE of the following two lines:
# if: github.event_name == 'release' && github.event.action == 'published' # publish on via explicit publish
if: github.event_name == 'release' && github.event.action == 'published' # publish on via explicit publish
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') # publish on tag starting w/ 'v'
steps:
- name: download files
Expand Down

0 comments on commit f5dddad

Please sign in to comment.