fix(ci): remove deprecated release (#186)

This commit is contained in:
Michael Chris Lopez
2024-08-08 08:31:42 +02:00
committed by GitHub
parent b42f3994a9
commit 65d324d2d7

View File

@@ -108,19 +108,9 @@ jobs:
- format
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: simple
package-name: zenbones.nvim
- uses: actions/checkout@v4
- 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