From 1e8e0d35582544e8a6343b5419972d7fba0480c0 Mon Sep 17 00:00:00 2001 From: chris-sun-star <85611200+chris-sun-star@users.noreply.github.com> Date: Mon, 19 Aug 2024 20:04:29 +0800 Subject: [PATCH] hotfix: fix trigger tag expression for release oceanbase workflows (#41) --- .github/workflows/release-lts-oceanbase-ce.yml | 4 ++-- .github/workflows/release-oceanbase-ce.yml | 4 ++-- .github/workflows/release-oceanbase-cloud-native.yml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-lts-oceanbase-ce.yml b/.github/workflows/release-lts-oceanbase-ce.yml index ac41bd1..39b0fc9 100644 --- a/.github/workflows/release-lts-oceanbase-ce.yml +++ b/.github/workflows/release-lts-oceanbase-ce.yml @@ -3,8 +3,8 @@ name: release lts oceanbase-ce on: push: tags: - - "lts-oceanbase-ce-(\d+\.\d+\.\d+\.\d+)-(\d{18})" - - "lts-oceanbase-(\d+\.\d+\.\d+\.\d+)-(\d{18})" + - "lts-oceanbase-ce-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]+" + - "lts-oceanbase-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]+" env: tagName: ${{ github.ref_name }} diff --git a/.github/workflows/release-oceanbase-ce.yml b/.github/workflows/release-oceanbase-ce.yml index d20b987..5c1006f 100644 --- a/.github/workflows/release-oceanbase-ce.yml +++ b/.github/workflows/release-oceanbase-ce.yml @@ -3,8 +3,8 @@ name: release oceanbase-ce on: push: tags: - - "oceanbase-ce-(\d+\.\d+\.\d+\.\d+)-(\d{18})" - - "oceanbase-(\d+\.\d+\.\d+\.\d+)-(\d{18})" + - "oceanbase-ce-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]+" + - "oceanbase-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]+" env: tagName: ${{ github.ref_name }} diff --git a/.github/workflows/release-oceanbase-cloud-native.yml b/.github/workflows/release-oceanbase-cloud-native.yml index 16848bd..65a6203 100644 --- a/.github/workflows/release-oceanbase-cloud-native.yml +++ b/.github/workflows/release-oceanbase-cloud-native.yml @@ -3,9 +3,9 @@ name: release oceanbase-cloud-native on: push: tags: - - "oceanbase-cloud-native-(\d+\.\d+\.\d+\.\d+)-(\d{18})" - - "oceanbase-(\d+\.\d+\.\d+\.\d+)-(\d{18})" - - "lts-oceanbase-(\d+\.\d+\.\d+\.\d+)-(\d{18})" + - "oceanbase-cloud-native-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]+" + - "oceanbase-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]+" + - "lts-oceanbase-[0-9]+.[0-9]+.[0-9]+.[0-9]+-[0-9]+" env: tagName: ${{ github.ref_name }}