Skip to content

Commit 787ed4e

Browse files
committed
fix: updating GH release action
1 parent f72f458 commit 787ed4e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,10 @@ jobs:
4949
python -c "import mesa_frames; print(mesa_frames.__version__)"
5050
- name: Update GitHub Release
5151
uses: softprops/action-gh-release@v1
52+
if: startsWith(github.ref, 'refs/tags/')
5253
with:
5354
files: |
5455
dist/*
55-
tag_name: ${{ github.ref }}
56-
name: ${{ github.ref }}
5756
- name: Create or recreate version branch
5857
run: |
5958
CURRENT_VERSION=$(hatch version)

0 commit comments

Comments
 (0)