From 47aa095c8fbc47abe26cfae416107bb8806077c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Mon, 20 Nov 2023 17:51:14 +0100 Subject: [PATCH] Configure prepare-release action MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nikola Forró --- .github/workflows/prepare-release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index e5b69d6..280705e 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -20,10 +20,12 @@ jobs: with: fetch-depth: 0 - name: Prepare release content - uses: packit/prepare-release@v1 + uses: packit/prepare-release@v2 with: version: ${{ inputs.version }} specfiles: fedora/python-specfile.spec,epel8/python-specfile.spec + prerelease_suffix_pattern: ([.\\-_]?)(a(lpha)?|b(eta)?|r?c|pre(view)?)([.\\-_]?\\d+)? + prerelease_suffix_macro: prerelease - name: Create Pull Request uses: peter-evans/create-pull-request@v4 with: