From 628742666eebeb2d8a8de5a5caff8e5efeadb7cb Mon Sep 17 00:00:00 2001 From: Peter Desmet Date: Mon, 22 Jan 2024 14:48:27 +0100 Subject: [PATCH 1/2] Update release.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ee9827e..622b85e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ on: # Avoid using all the resources/limits available by checking only # relevant branches and tags. Other branches can be checked via PRs. branches: [main] - tags: ['v[0-9]*', '[0-9]+.[0-9]+*'] # Match tags that resemble a version + tags: ['v(([0-9a-z])+(\.|-)?)+'] # Match tags that resemble a version workflow_dispatch: # Allow manually triggering the workflow permissions: From 03d9ba4e26c60faba9d9efffac4b4b6d3548b92f Mon Sep 17 00:00:00 2001 From: Peter Desmet Date: Mon, 22 Jan 2024 15:26:38 +0100 Subject: [PATCH 2/2] Update release.yml --- .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 622b85e..cf985a7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,8 +6,8 @@ on: # Avoid using all the resources/limits available by checking only # relevant branches and tags. Other branches can be checked via PRs. branches: [main] - tags: ['v(([0-9a-z])+(\.|-)?)+'] # Match tags that resemble a version - workflow_dispatch: # Allow manually triggering the workflow + tags: ['v[0-9]*'] # Match tags that resemble a version + workflow_dispatch: # Allow manually triggering the workflow permissions: contents: read