From b6f7f555b307abb78f8990fba092bd0d778c13dd Mon Sep 17 00:00:00 2001 From: Anton Yurchenko Date: Sun, 30 Jul 2023 13:17:02 +0300 Subject: [PATCH] Maintain major/minor tags (#49) * Maintain major/minor tags * Update tags trigger --- .github/workflows/integration.yml | 2 +- .github/workflows/release.yml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 72661a7..a3fe195 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -8,7 +8,7 @@ on: branches: - main tags: - - v* + - v[0-9]+.[0-9]+.[0-9]+ schedule: - cron: '0 22 */3 * *' jobs: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fa6e47a..7c58258 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ name: Release Process on: push: # Only trigger for tags with format v**** tags: - - 'v*' + - v[0-9]+.[0-9]+.[0-9]+ jobs: build: @@ -18,3 +18,5 @@ jobs: with: generate_release_notes: true token: ${{ secrets.GITHUB_TOKEN }} + - name: Update Tags + uses: vweevers/additional-tags-action@v2