Skip to content

Commit d82ff9a

Browse files
committed
Don't tag prereleases
Fixes #1162 Signed-off-by: David Thompson <davthomp@redhat.com>
1 parent 00533c5 commit d82ff9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
uses: "marvinpinto/action-automatic-releases@919008cf3f741b179569b7a6fb4d8860689ab7f0"
113113
with:
114114
repo_token: "${{ secrets.GITHUB_TOKEN }}"
115-
automatic_release_tag: "${{ env.EXT_VERSION }}"
115+
automatic_release_tag: "${{ github.event_name != 'schedule' && inputs.publishPreRelease != 'true' && env.EXT_VERSION || null }}"
116116
draft: true
117117
files: |
118118
vscode-yaml-${{ env.EXT_VERSION }}-${{github.run_number}}*.vsix

0 commit comments

Comments
 (0)