Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit aca6470

Browse files
author
CI
committed
Automated update for script library changes
1 parent 06241cb commit aca6470

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

containers/codespaces-linux/.devcontainer/library-scripts/go-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ if [ "${TARGET_GO_VERSION}" != "none" ] && ! type go > /dev/null 2>&1; then
165165
gpg -q --import /tmp/tmp-gnupg/golang_key
166166
echo "Downloading Go ${TARGET_GO_VERSION}..."
167167
set +e
168-
curl -fsSL -o /tmp/go.tar.gz https://golang.org/dl/go1.177.linux-amd64.tar.gz
168+
curl -fsSL -o /tmp/go.tar.gz "https://golang.org/dl/go${TARGET_GO_VERSION}.linux-${architecture}.tar.gz"
169169
set -e
170170
if [ ! -s "/tmp/go.tar.gz" ] || [ "$?" != "0" ]; then
171171
echo "(!) Download failed."

containers/go/.devcontainer/library-scripts/go-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ if [ "${TARGET_GO_VERSION}" != "none" ] && ! type go > /dev/null 2>&1; then
165165
gpg -q --import /tmp/tmp-gnupg/golang_key
166166
echo "Downloading Go ${TARGET_GO_VERSION}..."
167167
set +e
168-
curl -fsSL -o /tmp/go.tar.gz https://golang.org/dl/go1.177.linux-amd64.tar.gz
168+
curl -fsSL -o /tmp/go.tar.gz "https://golang.org/dl/go${TARGET_GO_VERSION}.linux-${architecture}.tar.gz"
169169
set -e
170170
if [ ! -s "/tmp/go.tar.gz" ] || [ "$?" != "0" ]; then
171171
echo "(!) Download failed."

0 commit comments

Comments
 (0)