From 6e2e60fee102fbb6a7fb5cb61bd6b16b972d7ce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Kova=C4=BE?= Date: Fri, 8 May 2026 21:31:51 +0200 Subject: [PATCH] ci(release): mark -rc/-beta/-alpha tags as GitHub prerelease Avoids the manual 'gh release edit --prerelease' step on every RC. softprops/action-gh-release reads the prerelease flag from inputs; gate on tag-name suffix detection. Mirrors openlock f95c3e6. --- .github/workflows/openlock-release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/openlock-release.yml b/.github/workflows/openlock-release.yml index 902d0edb9..0ffcd5927 100644 --- a/.github/workflows/openlock-release.yml +++ b/.github/workflows/openlock-release.yml @@ -171,6 +171,7 @@ jobs: tag_name: ${{ env.RELEASE_TAG }} name: ${{ env.RELEASE_TAG }} generate_release_notes: true + prerelease: ${{ contains(env.RELEASE_TAG, '-rc') || contains(env.RELEASE_TAG, '-beta') || contains(env.RELEASE_TAG, '-alpha') }} files: | release/*.tar.gz release/checksums-sha256.txt