vaw Wiki
Reading preferences
Text size

Installation and release pins

On this page

Installation and release pins#

Official release binaries are not published yet. When a release is available, download the executable for your operating system and architecture from the matching GitHub release. The release pipeline packages six targets: Linux, macOS, and Windows on AMD64 and ARM64. Each release includes raw executables, checksums.txt, release-manifest.json, the LICENSE, a Go module listing in dependencies.txt, and THIRD_PARTY_NOTICES.txt for bundled frontend dependencies.

Until then, build from this repository with Go 1.24 or newer:

go build -trimpath -o bin/vaw ./cmd/vaw
./bin/vaw version

The default theme is embedded. Ordinary generation does not need Node.js. Source builds need Go and may download pinned Go modules. Building a release bundle additionally needs Node.js/npm to run npm ci, type-check the frontend, and compile assets before Go embeds them. Release binary operation without Go or Node.js has not yet been verified in a clean environment.

Pinning the generator for a content repository#

Content projects use a plain-text vaw.lock. It is data, not a shell script. Its schema is version 1:

schema_version=1
repository=aancw/vaw
version=v1.2.3
artifact.darwin-amd64=vaw-darwin-amd64:64-lowercase-hex-digest
artifact.darwin-arm64=vaw-darwin-arm64:64-lowercase-hex-digest
artifact.linux-amd64=vaw-linux-amd64:64-lowercase-hex-digest
artifact.linux-arm64=vaw-linux-arm64:64-lowercase-hex-digest
artifact.windows-amd64=vaw-windows-amd64.exe:64-lowercase-hex-digest
artifact.windows-arm64=vaw-windows-arm64.exe:64-lowercase-hex-digest

The digests shown above are explanatory only and must never be used as real checksums. The starter vaw.lock is intentionally unconfigured until a real release exists. Pin a specific published stable version explicitly:

vaw upgrade --version v1.2.3

This command resolves that exact GitHub release and writes the lock file; it does not modify notes, replace the installed executable, commit, or deploy. Release checksums detect artifact corruption. Since they are hosted alongside the binaries, they do not independently authenticate the release. Keep the resulting lock in source control and review updates like other dependency changes. Builds do not check for updates or select latest.

The release packager defaults to aancw/vaw. Fork maintainers can set VAW_REPOSITORY=OWNER/REPOSITORY when creating their own release artifacts.

The starter build.sh reads only the lock's fixed keys, detects Linux/macOS architecture, downloads one executable to a temporary file over HTTPS, verifies the committed digest, and installs it into .vaw/bin/<version>/ only after verification. It rechecks cached files on every run and fails closed if the lock is unconfigured, invalid, unsupported, or mismatched. It requires Bash, curl, and either sha256sum or shasum; the generator itself does not need Go, Node.js, npm, or Python.

For an installed executable before official releases exist, build locally from this source tree. Do not use unverified curl | sh installation commands. go install ...@latest is not currently advertised as a tested installation method.

To smoke-test a locally generated release bundle in an offline Linux container that has no Go or Node.js on PATH, use scripts/smoke-release.sh RELEASE_DIRECTORY v1.2.3. Docker and a matching local ubuntu:22.04 image are required; the script does not pull images or contact the network.

Linked notes

Related notes

Linked from

Search is ready.

    ↑ ↓ move · Enter open · Esc close

    Explore graph

    Open the graph to explore note relationships.