`make release` cross-compiles the CLI for the four machines it is actually run on and writes SHA256SUMS beside them. It refuses an untagged tree, an edited one, and a commit that is past the tag. Each of those produces a binary whose `hpcod version` is not the release - a bare revision, or one carrying +dirty - and the time to find that out is before the file is uploaded, not when someone is trying to work out which binary is on a host. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
21 lines
482 B
Plaintext
21 lines
482 B
Plaintext
# Real site catalogue: endpoints, and may name secrets.
|
|
config/sites.yaml
|
|
|
|
# Build output. Anchored: a bare "hpcod" matches any path component with
|
|
# that name, which silently excluded the whole of cmd/hpcod/ - the CLI's
|
|
# source was never committed.
|
|
/hpcod
|
|
/hpcod-linux-amd64
|
|
|
|
# Terraform / OpenTofu working state
|
|
.terraform/
|
|
.terraform.lock.hcl
|
|
*.tfstate
|
|
*.tfstate.*
|
|
*.tfvars
|
|
!*.tfvars.example
|
|
crash.log
|
|
|
|
# Release artefacts, rebuilt from the tag whenever they are wanted.
|
|
/dist/
|