| internal | ||
| logs | ||
| scripts | ||
| .gitignore | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| README.md | ||
| testinstall | ||
| zlh-agent | ||
zlh-agent
Release Build
Build a versioned Linux AMD64 artifact (with embedded agent version and matching SHA256):
./scripts/build-release.sh 1.0.6
Outputs:
dist/1.0.6/zlh-agent-linux-amd64dist/1.0.6/zlh-agent-linux-amd64.sha256
The version reported by startup logs and GET /version is injected at build time via ldflags.