Skip to content

Commit 1acd87e

Browse files
authored
fix(ci): add tagging step back (#189)
1 parent 9cf9de9 commit 1acd87e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/ci.yml

+10
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,13 @@ jobs:
105105
- uses: googleapis/release-please-action@v4
106106
with:
107107
release-type: simple
108+
- name: tag stable versions
109+
if: ${{ steps.release.outputs.release_created }}
110+
run: |
111+
git config user.name github-actions[bot]
112+
git config user.email github-actions[bot]@users.noreply.github.com
113+
git remote add gh-token "https://${{ secrets.GITHUB_TOKEN }}@github.com/google-github-actions/release-please-action.git"
114+
git tag -d stable || true
115+
git push origin :stable || true
116+
git tag -a stable -m "Last Stable Release"
117+
git push origin stable

0 commit comments

Comments
 (0)