diff options
author | Jeffery To <jeffery.to@gmail.com> | 2022-04-09 22:01:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-09 16:01:24 +0200 |
commit | e30898ddb3e51225d4bda8661a1510c5cc9afe08 (patch) | |
tree | 7493cbf81e558b0ff3f10499fc6330ae3032dd2b /build.go | |
parent | 072fa46bfd088bfc4c5b77fba07570c5084f3245 (diff) | |
download | syncthing-e30898ddb3e51225d4bda8661a1510c5cc9afe08.tar.gz syncthing-e30898ddb3e51225d4bda8661a1510c5cc9afe08.zip |
build: Update go directive to 1.17 (fixes #8258) (#8260)
This should fix compiling from the source tarball with Go 1.18.
Diffstat (limited to 'build.go')
-rw-r--r-- | build.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -883,7 +883,7 @@ func shouldRebuildAssets(target, srcdir string) bool { func updateDependencies() { runPrint(goCmd, "get", "-u", "./cmd/...") - runPrint(goCmd, "mod", "tidy", "-go=1.16", "-compat=1.16") + runPrint(goCmd, "mod", "tidy", "-go=1.17", "-compat=1.17") // We might have updated the protobuf package and should regenerate to match. proto() |