@@ -21,12 +21,13 @@ class Go < Formula
21
21
end
22
22
23
23
bottle do
24
- sha256 arm64_sequoia : "5a84bce32e529be0472734e5789883471df559105afa2a92498631c75032d86c"
25
- sha256 arm64_sonoma : "5a84bce32e529be0472734e5789883471df559105afa2a92498631c75032d86c"
26
- sha256 arm64_ventura : "5a84bce32e529be0472734e5789883471df559105afa2a92498631c75032d86c"
27
- sha256 sonoma : "7edf89af80b910df2599cb12402f356276ff266f2c2c56072214706ddbade724"
28
- sha256 ventura : "7edf89af80b910df2599cb12402f356276ff266f2c2c56072214706ddbade724"
29
- sha256 x86_64_linux : "90eb5bd4696656becce3fcffb7ab69a1d4333d41ac6f458a64c5dd1651922857"
24
+ rebuild 1
25
+ sha256 arm64_sequoia : "ce9aad234b15d873fcd727306ab7a361db924b449f527904b3614c3aa4773767"
26
+ sha256 arm64_sonoma : "ce9aad234b15d873fcd727306ab7a361db924b449f527904b3614c3aa4773767"
27
+ sha256 arm64_ventura : "ce9aad234b15d873fcd727306ab7a361db924b449f527904b3614c3aa4773767"
28
+ sha256 sonoma : "333dc0e36f21c81f8b07f8b0d9125a6cc0b16979de9d996979bf1eff6280b9bf"
29
+ sha256 ventura : "333dc0e36f21c81f8b07f8b0d9125a6cc0b16979de9d996979bf1eff6280b9bf"
30
+ sha256 x86_64_linux : "b18da6cb774e738cb65bd9840521a85c1eda42323e3264730794624a81dcfa64"
30
31
end
31
32
32
33
# Don't update this unless this version cannot bootstrap the new version.
@@ -63,7 +64,11 @@ class Go < Formula
63
64
end
64
65
65
66
def install
66
- inreplace "go.env" , /^GOTOOLCHAIN=.*$/ , "GOTOOLCHAIN=local"
67
+ inreplace "go.env" do |s |
68
+ # Remove misleading comment about automatically downloading newer toolchains.
69
+ s . gsub! ( /^# Automatically download.*$/ , "" )
70
+ s . gsub! ( /^GOTOOLCHAIN=.*$/ , "GOTOOLCHAIN=local" )
71
+ end
67
72
68
73
( buildpath /"gobootstrap" ) . install resource ( "gobootstrap" )
69
74
ENV [ "GOROOT_BOOTSTRAP" ] = buildpath /"gobootstrap"
0 commit comments