fix(ci): add tagging step back (#189)

This commit is contained in:
Michael Chris Lopez
2024-08-08 09:05:00 +02:00
committed by GitHub
parent 9cf9de96db
commit 1acd87ea10

View File

@@ -105,3 +105,13 @@ jobs:
- uses: googleapis/release-please-action@v4 - uses: googleapis/release-please-action@v4
with: with:
release-type: simple 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