Releases
Trigger
The release workflow runs on a pushed tag matching v*:
git tag v0.1.0
GitHub Actions checks out the full history, provisions Go 1.23, and runs GoReleaser v2 with release --clean and GITHUB_TOKEN. The module currently declares Go 1.26.2; the workflow's older toolchain is a known limitation.
Artifacts
.goreleaser.yaml builds a linear-cli binary with CGO_ENABLED=0 for:
- Linux, macOS, and Windows
- amd64 and arm64
Archives are named linear-cli_<version>_<os>_<arch>. Windows uses ZIP; other platforms use tar.gz. GoReleaser also publishes checksums.txt. Linker flags embed the version, short commit, date, and API client version.
The generated changelog is sorted ascending and excludes commit prefixes docs:, test:, ci:, and chore:. Releases are marked prerelease automatically when GoReleaser identifies the version as a prerelease.
Verification and distribution
After publishing, download the matching archive, verify it with the checksums file, and run:
linear-cli version
The release configuration includes Go-install instructions in its release footer. The README's Homebrew command targets an external tap; this repository's GoReleaser configuration does not update that tap.