From 9de52ade205e5329a22452d73d3c5a31e805ec6b Mon Sep 17 00:00:00 2001 From: satsukies Date: Mon, 3 Feb 2025 10:40:54 +0900 Subject: [PATCH 1/2] fix: use square bracket and '+' token --- .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 2ca1ed1..c2a7264 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,8 +5,8 @@ on: branches-ignore: - '**' tags: - - (0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*) - - (0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)-(alpha|rc)[1-9]\d* + - '[0-9]+.[0-9]+.[0-9]+' + - '[0-9]+.[0-9]+.[0-9]+-(alpha|rc)[0-9]+' jobs: production-release: From 54325ebfd1e00282b098c48b50d426c363402dea Mon Sep 17 00:00:00 2001 From: satsukies Date: Mon, 3 Feb 2025 12:07:53 +0900 Subject: [PATCH 2/2] Update .github/workflows/release.yml Co-authored-by: Yuki Fujisaki --- .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 c2a7264..03f4e9e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ on: - '**' tags: - '[0-9]+.[0-9]+.[0-9]+' - - '[0-9]+.[0-9]+.[0-9]+-(alpha|rc)[0-9]+' + - '[0-9]+.[0-9]+.[0-9]+-{alpha,rc}[0-9]+' jobs: production-release: