From d82ff9ac33385cca6496b769e8f049e81faa184f Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 1 Oct 2025 10:08:53 -0400 Subject: [PATCH] Don't tag prereleases Fixes #1162 Signed-off-by: David Thompson --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2a8079bc..caa93a31 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -112,7 +112,7 @@ jobs: uses: "marvinpinto/action-automatic-releases@919008cf3f741b179569b7a6fb4d8860689ab7f0" with: repo_token: "${{ secrets.GITHUB_TOKEN }}" - automatic_release_tag: "${{ env.EXT_VERSION }}" + automatic_release_tag: "${{ github.event_name != 'schedule' && inputs.publishPreRelease != 'true' && env.EXT_VERSION || null }}" draft: true files: | vscode-yaml-${{ env.EXT_VERSION }}-${{github.run_number}}*.vsix