release

command
v0.2.37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Command release cuts release tags for railgrid components.

Each component has its own tag namespace and independent version line:

hub             v<X.Y.Z>                          repo-wide release: goreleaser
                                                  CLI + hub/agent images +
                                                  platform charts (railgrid-hub,
                                                  railgrid-agent)
quickstart      providers/quickstart/v<X.Y.Z>     provider-release.yaml builds
                                                  the image + chart stamped with
                                                  this version; the source is
                                                  also mirrored to railgrid/
                                                  provider-<name> (source only)
infrastructure  providers/infrastructure/v<X.Y.Z>
code            providers/code/v<X.Y.Z>

It finds the component's latest existing tag, bumps it (patch by default), and creates + pushes the new tag — the release workflows do the rest.

Usage:

release <component...|all> [flags]

release current               # print every component's latest tag
release quickstart            # bump providers/quickstart/v* patch and push
release quickstart code       # bump several components in one run
release hub --minor           # bump v* minor
release quickstart --tag v0.0.1   # explicit version
release all --dry-run         # preview every component's next tag
release all --tag v0.1.0      # put every component on the same version

Flags:

--tag <vX.Y.Z>   set the exact version; with 'all', every component gets it
                 (must be ahead of each targeted component's latest tag)
--minor          bump the minor (default: patch)
--major          bump the major
--ref <commit>   commit/ref to tag (default: HEAD)
--dry-run        print the plan, create nothing
-y, --yes        don't prompt for confirmation before pushing

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL