diff --git a/.github/workflows/release-lts-oceanbase-ce.yml b/.github/workflows/release-lts-oceanbase-ce.yml index 003f993..ac41bd1 100644 --- a/.github/workflows/release-lts-oceanbase-ce.yml +++ b/.github/workflows/release-lts-oceanbase-ce.yml @@ -3,7 +3,8 @@ name: release lts oceanbase-ce on: push: tags: - - "lts-oceanbase-*" + - "lts-oceanbase-ce-(\d+\.\d+\.\d+\.\d+)-(\d{18})" + - "lts-oceanbase-(\d+\.\d+\.\d+\.\d+)-(\d{18})" env: tagName: ${{ github.ref_name }} diff --git a/.github/workflows/release-oceanbase-ce.yml b/.github/workflows/release-oceanbase-ce.yml index 5079873..d20b987 100644 --- a/.github/workflows/release-oceanbase-ce.yml +++ b/.github/workflows/release-oceanbase-ce.yml @@ -3,7 +3,8 @@ name: release oceanbase-ce on: push: tags: - - "oceanbase-*" + - "oceanbase-ce-(\d+\.\d+\.\d+\.\d+)-(\d{18})" + - "oceanbase-(\d+\.\d+\.\d+\.\d+)-(\d{18})" env: tagName: ${{ github.ref_name }} diff --git a/.github/workflows/release-oceanbase-cloud-native.yml b/.github/workflows/release-oceanbase-cloud-native.yml index 3f7ac61..16848bd 100644 --- a/.github/workflows/release-oceanbase-cloud-native.yml +++ b/.github/workflows/release-oceanbase-cloud-native.yml @@ -3,8 +3,9 @@ name: release oceanbase-cloud-native on: push: tags: - - "oceanbase-*" - - "lts-oceanbase-*" + - "oceanbase-cloud-native-(\d+\.\d+\.\d+\.\d+)-(\d{18})" + - "oceanbase-(\d+\.\d+\.\d+\.\d+)-(\d{18})" + - "lts-oceanbase-(\d+\.\d+\.\d+\.\d+)-(\d{18})" env: tagName: ${{ github.ref_name }}