From 6d6c0686920cbbbfb2db8eba0425c17a368df8a3 Mon Sep 17 00:00:00 2001 From: Peng Tao Date: Tue, 16 Aug 2022 15:11:44 +0800 Subject: [PATCH] workflow: trigger release for 3.x releases So that we can push 3.x artifacts to the release page. Fixes: #4919 Signed-off-by: Peng Tao --- .github/workflows/release.yaml | 4 ++-- .github/workflows/snap-release.yaml | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 81f05942c..544d50fb4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,8 +1,8 @@ -name: Publish Kata 2.x release artifacts +name: Publish Kata release artifacts on: push: tags: - - '2.*' + - '[0-9]+.[0-9]+.[0-9]+*' jobs: build-asset: diff --git a/.github/workflows/snap-release.yaml b/.github/workflows/snap-release.yaml index ecd34978f..b271d7d3d 100644 --- a/.github/workflows/snap-release.yaml +++ b/.github/workflows/snap-release.yaml @@ -1,8 +1,9 @@ -name: Release Kata 2.x in snapcraft store +name: Release Kata in snapcraft store on: push: tags: - - '2.*' + - '[0-9]+.[0-9]+.[0-9]+*' + jobs: release-snap: runs-on: ubuntu-20.04