From 917daa4967702e6b2cbc0696a5900382b4f63d92 Mon Sep 17 00:00:00 2001 From: Ivan Belokobylskiy Date: Fri, 7 Apr 2023 17:03:43 +0530 Subject: [PATCH] Create release for tags only --- .github/workflows/build-release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index fc5db67..e5f03d1 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -126,9 +126,8 @@ jobs: - name: Create release uses: softprops/action-gh-release@v1 -# if: startsWith(github.ref, 'refs/tags/') + if: startsWith(github.ref, 'refs/tags/') with: files: | artifacts/tracy-*/* - prerelease: true - tag_name: ${{ steps.get_version.outputs.version }}-${{ steps.tag.outputs.release_tag }} + tag_name: ${{ steps.get_version.outputs.version }}