Documentation
¶
Overview ¶
Command release is a small TUI for publishing a WhatTheDock GitHub release: builds the version-stamped binary the same way the README's manual build instructions do, signs it, tags the commit, pushes the tag, and publishes a GitHub release with the binary and its detached signature attached via gh.
Run it from the repository root:
go run ./cmd/release go run ./cmd/release -dry-run # walk through every step without tagging, pushing, or publishing go run ./cmd/release -genkey # one-time: generate the release signing keypair go run ./cmd/release -auto # no TUI: auto-versioned, unattended (see runAuto) — also ./release.sh go run ./cmd/release -auto -version=vX.Y.Z # -auto with an explicit version instead of the auto-suggested one
Click to show internal directories.
Click to hide internal directories.