From 9e09fad0871b3b9856cfede81307400ddcf522f3 Mon Sep 17 00:00:00 2001 From: James Tucker Date: Mon, 16 Sep 2024 13:06:45 -0700 Subject: [PATCH] Makefile: update go.toolchain.rev atomically Updates #501 Signed-off-by: James Tucker --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 73ae188..f8a0416 100644 --- a/Makefile +++ b/Makefile @@ -221,7 +221,8 @@ update-version: ## Update the version in build.gradle .PHONY: update-oss update-oss: ## Update the tailscale.com go module and update the version in build.gradle GOPROXY=direct ./tool/go get tailscale.com@main - ./tool/go run tailscale.com/cmd/printdep --go > go.toolchain.rev + ./tool/go run tailscale.com/cmd/printdep --go > go.toolchain.rev.new + mv go.toolchain.rev.new go.toolchain.rev ./tool/go mod tidy -compat=1.23 # Get the commandline tools package, this provides (among other things) the sdkmanager binary.