Skip to content

Commit

Permalink
Only publish on new tag/version
Browse files Browse the repository at this point in the history
  • Loading branch information
tjakobi committed Apr 24, 2024
1 parent 697088d commit 9f11505
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/pypi_publishing.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: Publish to PyPI

# runs only when a new tag is pushed
on:
push:

# Pattern matched against refs/tags
tags:
- '*' # Push events to every tag not containing /
jobs:
build:

Expand Down

0 comments on commit 9f11505

Please sign in to comment.