From effd4325e8c39f8ed19d3a2c732d7f8b07b7cced Mon Sep 17 00:00:00 2001 From: Michael Chris Lopez Date: Thu, 8 Aug 2024 09:02:47 +0200 Subject: [PATCH] fix(ci): add tagging step back --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 489a071..f9f1a8f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -105,3 +105,13 @@ jobs: - uses: googleapis/release-please-action@v4 with: release-type: simple + - name: tag stable versions + if: ${{ steps.release.outputs.release_created }} + run: | + git config user.name github-actions[bot] + git config user.email github-actions[bot]@users.noreply.github.com + git remote add gh-token "https://${{ secrets.GITHUB_TOKEN }}@github.com/google-github-actions/release-please-action.git" + git tag -d stable || true + git push origin :stable || true + git tag -a stable -m "Last Stable Release" + git push origin stable