diff --git a/runner/cmd/runner/main.go b/runner/cmd/runner/main.go index 44713e8623..258523f5ae 100644 --- a/runner/cmd/runner/main.go +++ b/runner/cmd/runner/main.go @@ -23,7 +23,8 @@ import ( ) // Version is a build-time variable. The value is overridden by ldflags. -var Version string +// The "latest" default marks a dev build; the server treats it as the newest version. +var Version = "latest" func main() { os.Exit(mainInner()) diff --git a/runner/cmd/shim/main.go b/runner/cmd/shim/main.go index 6926488455..78cc405bf9 100644 --- a/runner/cmd/shim/main.go +++ b/runner/cmd/shim/main.go @@ -25,7 +25,8 @@ import ( ) // Version is a build-time variable. The value is overridden by ldflags. -var Version string +// The "latest" default marks a dev build; the server treats it as the newest version. +var Version = "latest" // https://everything.curl.dev/usingcurl/proxies/env.html // https://cs.opensource.google/go/x/net/+/657eb1317b5dd33038d683297c6be9cae05fa97d:http/httpproxy/proxy.go