fix: try fix keymap

This commit is contained in:
Chen Asraf
2023-05-15 02:49:55 +03:00
parent e04c0c4e32
commit 4e3b5418a8
4 changed files with 30 additions and 2 deletions

View File

@@ -42,4 +42,30 @@ jobs:
- name: check docs diff
run: exit $(git status --porcelain doc | wc -l | tr -d " ")
release:
name: release
if: ${{ github.ref == 'refs/heads/master' }}
permissions: write-all
needs:
- lint
- documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: simple
package-name: text-transform.nvim
- name: tag dev 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 dev || true
git push origin :dev || true
git tag -a dev -m "Last Development Release"
git push origin dev