Skip to content

Commit 7674543

Browse files
committed
ci(actions): Keep new releases from being made for non-semver GH Actions series tags
1 parent 8150a90 commit 7674543

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
path: fontship-${{ env.VERSION }}.zip
5050
- name: Release
5151
uses: softprops/action-gh-release@v2
52-
if: github.repository == 'theleagueof/fontship' && startsWith(github.ref, 'refs/tags/v')
52+
if: github.repository == 'theleagueof/fontship' && startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '.')
5353
with:
5454
body_path: fontship-${{ env.VERSION }}.md
5555
files: |

0 commit comments

Comments
 (0)