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