-
Notifications
You must be signed in to change notification settings - Fork 0
Add nightly releases via GoReleaser and Homebrew tap #143
Description
Description
Add a nightly release workflow so users and contributors can test pre-release builds of Partio without waiting for a stable release. This mirrors how entireio/cli ships nightly builds (entireio/cli#825).
What to implement
-
.github/workflows/nightly.yml— a cron-driven workflow that checks for new commits since the last nightly tag, computes the next nightly tag (v<patch>-nightly.YYYYMMDD), and triggers GoReleaser. -
GoReleaser nightly config — mark the release as pre-release, upload binaries for Linux/macOS/Windows, publish to GitHub Releases.
-
Homebrew tap — add a
partio-nightlyformula so users can install withbrew install partio-io/tap/partio-nightly. -
Version string — embed the nightly tag so
partio versionclearly indicates a pre-release build.
Why
Pre-release builds let users test bug fixes and new agents before a stable release. This is valuable for a CLI deeply integrated into Git workflows.
Source
Inspired by entireio/cli#825
Acceptance Criteria
- A
.github/workflows/nightly.ymlworkflow runs on daily cron and creates nightly tags only when new commits exist - GoReleaser builds nightly binaries for Linux, macOS (amd64 + arm64), and Windows
- Homebrew tap formula for
partio-nightlyis updated partio versionoutput identifies nightly builds- Stable release workflow is not affected