diff --git a/Makefile b/Makefile index ba14699..66ed30d 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,9 @@ POLICY_SRC := ../contracts/agent-policy.json POLICY_DST := internal/policy/agent-policy.json -VERSION ?= 0.1.0 +# The version stamped into the binary, and the tag scripts/release.sh publishes under. It is the +# agent's own version rather than the app's: the two are released together but a node can be running an +# older agent than the phone, and the handshake's `agentBuild` field is what makes that visible. +VERSION ?= 0.3.0 LDFLAGS := -s -w -X main.version=$(VERSION) .PHONY: all vendor test vet build build-arm64 build-armv7 clean