release

command
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Command release builds what is published: the runner for each platform, the bash-compatible interpreter, their checksums, and the licence notices of everything compiled in.

go run ./release build  --version 0.1.0 --out dist [--key release.key] [--download-base URL] [--extra FILE]...
go run ./release verify --dir dist [--pub release.pub]
go run ./release keygen --out release

A build is reproducible: the same source and the same toolchain give the same bytes, so a published checksum can be checked by building again.

--download-base is the address the files of this release will be served from, such as https://github.com/OWNER/REPO/releases/download/v0.1.0. With it the runner is built knowing where its bash-compatible interpreter is and what its digest must be, and the release holds install.sh and install.ps1, each carrying the digest of every runner. Without it the build is for checking only: nothing in it knows where it will be published.

Signing uses an ed25519 key read from a file the caller names. Where that key lives, and who may use it, is not decided here.

Jump to

Keyboard shortcuts

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