From 6c2de5339a76e55c103a9da387af913ef304bc17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=C3=A4llberg?= Date: Thu, 24 Aug 2023 15:12:17 +0300 Subject: [PATCH] Update instructions and only make release on tags --- .github/workflows/release.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0623d8a..88fb194 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -59,8 +59,8 @@ jobs: make-release: runs-on: ubuntu-latest needs: flakes-simple - if: github.ref == 'refs/heads/main' - # if: startsWith(github.ref, 'refs/tags/') + # if: github.ref == 'refs/heads/main' + if: startsWith(github.ref, 'refs/tags/') steps: - uses: actions/download-artifact@v2 - run: ls -lR @@ -85,17 +85,16 @@ jobs: uses: softprops/action-gh-release@v0.1.15 # if: startsWith(github.ref, 'refs/tags/') with: - prerelease: true - tag_name: prerelease + # prerelease: true + # tag_name: prerelease draft: true # name: Version ${github.ref} body: | # Installation If you're running linux or an intel mac you can: - - Download the `gf-lsp-Linux-x64` or `gf-lsp-MacOS-x64` respectively - - Rename it to `gf-lsp`: `mv gf-lsp-linux-bundle gf-lsp` or `mv gf-lsp-macos-intel gf-lsp` + - Download the `gf-lsp-Linux-x64.gz` or `gf-lsp-MacOS-x64.gz` respectively + - Unpack it to `gf-lsp`: `gunzip -c gf-lsp-*-x64.gz > gf-lsp` - make it executable using `chmod +x gf-lsp` - - On macos you need to trust it with: `xattr -dr com.apple.quarantine ./gf-lsp` - and put it in one of the directories in your `$PATH` after that reload your editor to make the lsp extension find the executable.