Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build and Release

on:
push:
tags:
- "*"

permissions:
contents: write

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: "~> v1"
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Release Notes

## v0.1.0 (2025-05-03)
- Added `build.yml` file for GitHub actions to build releases with all LSP binaries

## v0.0.2 (2025-04-25)
- Improved logger
- Add generating `build-version` file to `bin` directory
Expand Down
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,5 @@
go get github.com/textwire/lsp
```

## Building
To build all the binaries for all the platforms, run the bash script:
```bash```
./cmd/build
```

Don't forget to commit them since they are also a part of the repository. All the binaries are stored in the `bin` directory in the root of the project. Also update CHANGELOG.md.

## License
The Textwire LSP project is licensed under the [MIT License](LICENSE) and is free to use, modify, and distribute.
30 changes: 0 additions & 30 deletions cmd/build

This file was deleted.