zlh-agent/README.md
2026-03-07 20:59:27 +00:00

17 lines
355 B
Markdown

# zlh-agent
## Release Build
Build a versioned Linux AMD64 artifact (with embedded agent version and matching SHA256):
```bash
./scripts/build-release.sh 1.0.6
```
Outputs:
- `dist/1.0.6/zlh-agent-linux-amd64`
- `dist/1.0.6/zlh-agent-linux-amd64.sha256`
The version reported by startup logs and `GET /version` is injected at build time via ldflags.