From b843a22110f53fdf9cff150a6f3ae1427e405c6d Mon Sep 17 00:00:00 2001 From: tokox Date: Wed, 27 Mar 2024 10:55:50 +0100 Subject: [PATCH] Add patches to workflow --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d025252..fdd18fc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,7 @@ on: push: tags: - 'v\d+\.\d+' + - 'v\d+\.\d+-\d+' permissions: contents: write @@ -75,7 +76,7 @@ jobs: - name: Create release uses: ncipollo/release-action@v1.14.0 with: - name: Release ${{ github.ref_name }} + name: ${{ contains(github.ref_name, '-') && 'Patch' || 'Release'}} ${{ github.ref_name }} bodyFile: changelog.md tag: ${{ github.ref_name }}