Skip to content

Commit

Permalink
Merge pull request #104 from stuartleeks/sl/fix-build
Browse files Browse the repository at this point in the history
Fix build
  • Loading branch information
stuartleeks authored Jan 25, 2022
2 parents 138afea + 573d7a3 commit d98f273
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -e

get_latest_release() {
curl --silent "https://golang.org/dl/" | grep -Po -m 1 '(\d+\.\d+\.\d+)\.linux-amd64' | sed 's/.linux-amd64//'
curl --silent "https://go.dev/dl/" | grep -Po -m 1 '(\d+\.\d+\.\d+)\.linux-amd64' | sed 's/.linux-amd64//'
}

VERSION=${1:-"$(get_latest_release)"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -e

get_latest_release() {
curl --silent "https://golang.org/dl/" | grep -Po -m 1 '(\d+\.\d+\.\d+)\.linux-amd64' | sed 's/.linux-amd64//'
curl --silent "https://go.dev/dl/" | grep -Po -m 1 '(\d+\.\d+\.\d+)\.linux-amd64' | sed 's/.linux-amd64//'
}

VERSION=${1:-"$(get_latest_release)"}
Expand Down

0 comments on commit d98f273

Please sign in to comment.