golang.org/x/build@v0.0.0-20240506185731-218518f32b70/internal/releasetargets/genlatestports.bash (about)

     1  #!/bin/bash -eux
     2  
     3  go install golang.org/dl/gotip@latest
     4  gotip download
     5  MAJOR=$(gotip version | grep -Eo 'go1\.[0-9]+')
     6  gotip tool dist list > allports/${MAJOR}.txt
     7