mirror of https://github.com/folke/lazy.nvim.git
ci: added stable tag that gets moved with every release
This commit is contained in:
parent
9f3fb38402
commit
0c386bbea2
|
@ -59,3 +59,13 @@ jobs:
|
||||||
with:
|
with:
|
||||||
release-type: simple
|
release-type: simple
|
||||||
package-name: lazy.nvim
|
package-name: lazy.nvim
|
||||||
|
- 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
|
||||||
|
|
Loading…
Reference in New Issue