Skip to content

Commit 13a577f

Browse files
committed
chore: update github workflow, create a release only if we create a new tag
1 parent 7f4c9d9 commit 13a577f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build-test-package-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ jobs:
300300
301301
- name: create github release
302302
uses: softprops/action-gh-release@v2
303+
if: github.ref_type == 'tag' && startsWith( github.ref, 'refs/tags')
303304
with:
304305
files: "dist/*"
305306
name: "v${{ steps.get_release_informations.outputs.release_version }}"

0 commit comments

Comments
 (0)