From 81b89e4a1f932cdc332f66e2a5bd33dec5ab943f Mon Sep 17 00:00:00 2001 From: Francisco Giordano Date: Thu, 28 Sep 2023 13:13:07 -0300 Subject: [PATCH] prevent release for prereleases --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cb44a77..94423a9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,5 +15,6 @@ jobs: id: changelog - name: Release uses: softprops/action-gh-release@v1 + if: '!contains(github.ref_name, "-")' with: body_path: ${{ steps.changelog.outputs.file }}