From 451f4fcfb3a0c026ebc3e0b301374a808bad121d Mon Sep 17 00:00:00 2001 From: Victor Castell <0x@vcastellm.xyz> Date: Mon, 22 Jul 2024 17:37:56 +0000 Subject: [PATCH] Release on tag --- .github/workflows/release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 48bc9e26..2033e360 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,12 @@ name: Release on: - release: - types: [created] + release: + types: [created] + push: + tags: + # run only against tags that follow semver (https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string) + - 'v[0-9]+.[0-9]+.[0-9]+*' concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}