We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea88da8 commit 460a4d4Copy full SHA for 460a4d4
1 file changed
deploy.sh
@@ -9,12 +9,14 @@ if ! command -v go &> /dev/null; then
9
echo "Go not found in PATH. Checking /usr/local/go/bin..."
10
if [ -x /usr/local/go/bin/go ]; then
11
echo "Go binary found in /usr/local/go/bin. Adding to PATH..."
12
+ export PATH=$PATH:/usr/local/go/bin
13
else
14
echo "Go not installed. Installing Go 1.24.0..."
15
cd /tmp
16
wget -q https://go.dev/dl/go1.24.0.linux-amd64.tar.gz
17
sudo rm -rf /usr/local/go
18
sudo tar -C /usr/local -xzf go1.24.0.linux-amd64.tar.gz
19
20
cd -
21
fi
22
0 commit comments