Skip to content

Commit 2cda42e

Browse files
authored
Set runner/shim default compiled versions to latest (#3941)
1 parent 40cde6a commit 2cda42e

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

runner/cmd/runner/main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ import (
2323
)
2424

2525
// Version is a build-time variable. The value is overridden by ldflags.
26-
var Version string
26+
// The "latest" default marks a dev build; the server treats it as the newest version.
27+
var Version = "latest"
2728

2829
func main() {
2930
os.Exit(mainInner())

runner/cmd/shim/main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ import (
2525
)
2626

2727
// Version is a build-time variable. The value is overridden by ldflags.
28-
var Version string
28+
// The "latest" default marks a dev build; the server treats it as the newest version.
29+
var Version = "latest"
2930

3031
// https://everything.curl.dev/usingcurl/proxies/env.html
3132
// https://cs.opensource.google/go/x/net/+/657eb1317b5dd33038d683297c6be9cae05fa97d:http/httpproxy/proxy.go

0 commit comments

Comments
 (0)