mirror of
https://github.com/stevearc/aerial.nvim
synced 2024-09-16 14:34:08 +02:00
Merge pull request #271 from mehalter/master
ci: add release-please to automate semantic versioning releases
This commit is contained in:
commit
c663d1b55f
1 changed files with 24 additions and 0 deletions
24
.github/workflows/tests.yml
vendored
24
.github/workflows/tests.yml
vendored
|
@ -56,3 +56,27 @@ jobs:
|
|||
- name: Run tests
|
||||
run: |
|
||||
bash ./run_tests.sh
|
||||
|
||||
release:
|
||||
name: release
|
||||
|
||||
if: ${{ github.ref == 'refs/heads/master' }}
|
||||
needs:
|
||||
- luacheck
|
||||
- stylua
|
||||
- run_tests
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: google-github-actions/release-please-action@v3
|
||||
id: release
|
||||
with:
|
||||
release-type: simple
|
||||
package-name: aerial.nvim
|
||||
- uses: actions/checkout@v3
|
||||
- uses: rickstaa/action-create-tag@v1
|
||||
if: ${{ steps.release.outputs.release_created }}
|
||||
with:
|
||||
tag: stable
|
||||
message: "Current stable release: ${{ steps.release.outputs.tag_name }}"
|
||||
tag_exists_error: false
|
||||
force_push_tag: true
|
||||
|
|
Loading…
Reference in a new issue