Skip to content

Vanguard: Publish CLI tags as pre-releases - #8

Merged
zpl-zak merged 1 commit into
mainfrom
vanguard/prerelease
Nov 3, 2026
Merged

zpl-zak merged 1 commit into
mainfrom
vanguard/prerelease

Conversation

@zpl-zak

@zpl-zak zpl-zak commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Pushing a v* tag now publishes a GitHub pre-release instead of a full release (release.prerelease: true in .goreleaser.yaml).

Why: a new CLI version can be used on staging (Vanguard, for example #7) before production has the API changes it relies on. When production gets them, promote the pre-release to a full release on GitHub ("Set as a pre-release" off, "Set as the latest release" on).

Effect on installs:

  • install.sh without NEXRENDER_VERSION downloads from releases/latest, which GitHub resolves to the newest full release. Customers keep getting the last promoted version until the new one is promoted.
  • NEXRENDER_VERSION=v1.3.0 install.sh installs a specific tag, pre-release or not, so staging can pin the pre-release.
  • Nothing else in the CLI looks up releases.

Nothing changes in how releases are built, signed or archived. goreleaser check passes.

A tag now publishes a pre-release for staging. It becomes the full release
when it is promoted on GitHub after production runs it.
@zpl-zak
zpl-zak merged commit 80810e4 into main Nov 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant