diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fccfb00..4c01a24 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: for target in linux/amd64 linux/arm64 darwin/amd64 darwin/arm64; do os="${target%/*}"; arch="${target#*/}" name="agent-runtime_${VERSION}_${os}_${arch}" - GOOS="$os" GOARCH="$arch" go build -trimpath \ + GOOS="$os" GOARCH="$arch" go build -trimpath -ldflags "-X main.version=$VERSION" \ -o "dist/${name}/agent-runtime" ./cmd/agent-runtime tar -C "dist/${name}" -czf "dist/${name}.tar.gz" agent-runtime rm -rf "dist/${name}" diff --git a/CHANGELOG.md b/CHANGELOG.md index e7334c8..2e5543f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ contract. ## [Unreleased] +## [0.1.2] - 2026-09-13 + +- Stamp downloaded release binaries with the exact release version; local source builds retain `dev`. + - Select continuous-development so ordinary merge does not wait on the `Gate` GitHub required check; local `verification.required` stays. diff --git a/README.md b/README.md index faebb32..1b8bf37 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ protocol, scheduler, or operating-system sandbox. Requires Go 1.25 or newer. ```sh -go install github.com/NDDev-OpenNetwork/agent-runtime/cmd/agent-runtime@v0.1.1 +go install github.com/NDDev-OpenNetwork/agent-runtime/cmd/agent-runtime@v0.1.2 agent-runtime task validate --manifest examples/basic/agent.json --workspace examples/basic agent-runtime task run --manifest examples/basic/agent.json --workspace examples/basic ``` @@ -93,7 +93,7 @@ The GitHub Release additionally carries `agent-runtime` CLI binaries for linux and darwin on both architectures, plus `SHA256SUMS`. Check a downloaded archive against that file before running it. -The current release is `v0.1.1`, and the line starts there: this module path is +The current release is `v0.1.2`; the line started at `v0.1.1`: this module path is new, so numbering from the repository it grew out of does not carry over. See [`docs/releasing.md`](docs/releasing.md) for the steps and for why a tag is