Skip to content

Commit 0c386bb

Browse files
committed
ci: added stable tag that gets moved with every release
1 parent 9f3fb38 commit 0c386bb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Diff for: .github/workflows/ci.yml

+10
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,13 @@ jobs:
5959
with:
6060
release-type: simple
6161
package-name: lazy.nvim
62+
- name: tag stable versions
63+
if: ${{ steps.release.outputs.release_created }}
64+
run: |
65+
git config user.name github-actions[bot]
66+
git config user.email github-actions[bot]@users.noreply.github.com
67+
git remote add gh-token "https://${{ secrets.GITHUB_TOKEN }}@github.com/google-github-actions/release-please-action.git"
68+
git tag -d stable || true
69+
git push origin :stable || true
70+
git tag -a stable -m "Last Stable Release"
71+
git push origin stable

0 commit comments

Comments
 (0)