release-assets

command
v0.0.71 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Pack two release asset archives from fat frontend dist trees for hydrate downloads. Basenames from assets.AssetReleaseNames(version). Default: pack only. --upload opt-in wraps gh (create release if missing, gh release upload --clobber if exists). COPYFILE_DISABLE / exclude ._* .

CLI (from module root):

go run ./script/github/release-assets [flags]

Flags:

--out DIR         Output directory for archives; when omitted, create via
                  os.MkdirTemp("", "agent-pro-release-assets-*")
                  and print "out: <abs-path>" on stdout.
--version VER     Version string; normalized like AssetReleaseNames
                  (default: assets.ClientVersion() / pkgs/assets/VERSION.txt)
--upload          Opt-in GitHub upload via gh
-h, --help        Print usage; exit 0

Pack sources (relative to module / process cwd = module root):

frontend-agent-run/dist  -> agent-run_v{ver}_frontend.tar.gz
frontend/dist            -> agent-pro_v{ver}_frontend.tar.gz

Dist trees must be complete (non-empty index.html + non-empty assets/). Archive root = dist contents (index.html at archive root).

Jump to

Keyboard shortcuts

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