From 61f298fcbd7c07d32325378d0af3901995a50418 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9cate=20Kleidukos?= Date: Sat, 20 Jul 2024 23:10:47 +0200 Subject: [PATCH] Be more restrictive for releasing --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a475030..ef817b1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,7 @@ on: push: branches: ['main'] tags: - - "v*.*.*" + - "v*" jobs: generate-matrix: @@ -156,7 +156,7 @@ jobs: prerelease-head: name: Create a GitHub prerelease with the binary artifacts runs-on: ubuntu-latest - if: github.ref == 'refs/heads/main' + if: startsWith(github.ref, 'refs/tags/v') needs: ['tests', 'build-alpine'] steps: