From 78030230c5da43c9ba9fb324cd2f364687d6a6d2 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Thu, 26 Mar 2026 11:27:12 -0700 Subject: [PATCH] Update docs for VERSION file and build versioning. Co-Authored-By: Claude Opus 4.6 (1M context) --- ARCHITECTURE.md | 3 ++- PROGRESS.md | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index a7dfb13..e050279 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -708,7 +708,8 @@ sgard/ sgardpb/ # Generated protobuf + gRPC Go code proto/sgard/v1/ # Proto source definitions - flake.nix # Nix flake (builds sgard + sgardd) + VERSION # Semver string, read by flake.nix; synced from latest git tag via `make version` + flake.nix # Nix flake (builds sgard + sgardd, version from VERSION file) .goreleaser.yaml # GoReleaser (builds both binaries) ``` diff --git a/PROGRESS.md b/PROGRESS.md index 1df9a4b..7a2bf16 100644 --- a/PROGRESS.md +++ b/PROGRESS.md @@ -112,3 +112,4 @@ Phase 6: Manifest Signing (to be planned). | 2026-03-25 | — | Deploy sgardd to rift: Dockerfile, docker-compose, mc-proxy L4 route on :9443, Metacrypt TLS cert, DNS. | | 2026-03-25 | — | `sgard remote set/show`: persistent remote config in `/remote.yaml` (addr, tls, tls_ca). | | 2026-03-26 | — | `sgard list` remote support: uses `resolveRemoteConfig()` to list server manifest via `PullManifest` RPC. Client `List()` method added. | +| 2026-03-26 | — | Version derived from git tags via `VERSION` file. flake.nix reads `VERSION`; Makefile `version` target syncs from latest tag, `build` injects via ldflags. |