From aa815877cc79f4febc6bd4b38f6b9efff546339a Mon Sep 17 00:00:00 2001 From: William Boman Date: Fri, 21 Apr 2023 21:20:37 +0200 Subject: chore(ci): add release workflow (#199) --- .github/workflows/release.yml | 29 +++++++++++++++++++++++++++++ README.md | 7 ++++++- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..dc7323f --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,29 @@ +name: Release + +on: + push: + branches: + - "main" +permissions: + contents: write + pull-requests: write + +jobs: + release: + name: release + runs-on: ubuntu-latest + steps: + - uses: google-github-actions/release-please-action@v3 + id: release + with: + release-type: simple + package-name: mason-lspconfig.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 }}" + force_push_tag: true diff --git a/README.md b/README.md index 73b17e8..4e4a289 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,14 @@ mason-lspconfig bridges mason.nvim with the lspconfig plugin - making it easier to use both - plugins together.
+ plugins together. +

+

:help mason-lspconfig.nvim

+

+ Latest version: v1.0.0 +

# Table of Contents -- cgit v1.2.3-70-g09d2