Skip to content

Commit 160e0d8

Browse files
committed
Automatically create a GitHub release from a tag
1 parent 49094b9 commit 160e0d8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/publish-package.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,12 @@ jobs:
8787
- name: List all files
8888
run: ls -lh dist
8989

90+
- name: Create GitHub Release from a Tag
91+
uses: softprops/action-gh-release@v1
92+
if: startsWith(github.ref, 'refs/tags/')
93+
with:
94+
files: dist/*
95+
9096
- name: Publish distribution 📦 to Test PyPI
9197
# Publish to TestPyPI on tag events of if manually triggered
9298
# Compare to 'true' string as booleans get turned into strings in the console

0 commit comments

Comments
 (0)