From 0fa859362b38a690de6f391f2a08a2409f5f43c6 Mon Sep 17 00:00:00 2001 From: Julien FAUCHER Date: Thu, 1 Aug 2024 01:54:51 +0200 Subject: [PATCH] Debug semver --- .github/workflows/cmake-single-platform.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 428efc1..9cff073 100755 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -104,7 +104,7 @@ jobs: name: slang-lsp-${{ github.ref_name }} - name: Create main release from tag - if: ${{ success() && steps.semver.outputs.build-parts == '0' }} + if: ${{ success() && steps.semver.outputs.release == github.ref_name}} uses: softprops/action-gh-release@v2 with: body_path: ${{github.workspace}}/RELNOTES.md @@ -114,7 +114,7 @@ jobs: slang-lsp-${{ github.ref_name }} - name: Create dev release from tag - if: ${{ success() && steps.semver.outputs.build-parts != '0' }} + if: ${{ success() && steps.semver.outputs.release != github.ref_name }} uses: softprops/action-gh-release@v2 with: body_path: ${{github.workspace}}/RELNOTES.md