release-assets

command
v0.0.209 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: MIT Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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