Skip to content

Commit b777872

Browse files
committed
disable pre-release on tag push
1 parent 9d4c7e7 commit b777872

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- uses: "marvinpinto/action-automatic-releases@latest"
5050
with:
5151
repo_token: "${{ secrets.GITHUB_TOKEN }}"
52-
prerelease: "${{ is_default_branch}}"
52+
prerelease: "${{ startsWith(GITHUB_REF, 'refs/tags') }}"
5353
files: |
5454
LICENSE.txt
5555
*.jar

0 commit comments

Comments
 (0)