From 42fbbf7a6f7c039fc73a62d98c3c4767ac000048 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Fri, 19 May 2023 00:22:38 +0100 Subject: [PATCH] ci(release): switch to jimeh/update-tags-actions to move major/minor tags --- .github/workflows/release.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6aeabf9..12276a8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,17 +11,10 @@ jobs: steps: - uses: jimeh/release-please-manifest-action@main id: release - - name: Create/update MAJOR tag + - name: MAJOR and MAJOR.MINOR tags if: ${{ steps.release.outputs.release_created }} - uses: richardsimko/update-tag@v1 + uses: jimeh/update-tags-action@v1 with: - tag_name: v${{ steps.release.outputs.major }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Create/update MAJOR.MINOR tag - if: ${{ steps.release.outputs.release_created }} - uses: richardsimko/update-tag@v1 - with: - tag_name: v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + tags: | + v${{ steps.release.outputs.major }} + v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}