Skip to content

Commit 9e09fad

Browse files
committed
Makefile: update go.toolchain.rev atomically
Updates #501 Signed-off-by: James Tucker <[email protected]>
1 parent 204173d commit 9e09fad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,8 @@ update-version: ## Update the version in build.gradle
221221
.PHONY: update-oss
222222
update-oss: ## Update the tailscale.com go module and update the version in build.gradle
223223
GOPROXY=direct ./tool/go get tailscale.com@main
224-
./tool/go run tailscale.com/cmd/printdep --go > go.toolchain.rev
224+
./tool/go run tailscale.com/cmd/printdep --go > go.toolchain.rev.new
225+
mv go.toolchain.rev.new go.toolchain.rev
225226
./tool/go mod tidy -compat=1.23
226227

227228
# Get the commandline tools package, this provides (among other things) the sdkmanager binary.

0 commit comments

Comments
 (0)