Skip to content

Commit

Permalink
Revert Go1.19 setting up.
Browse files Browse the repository at this point in the history
  • Loading branch information
shimkiv committed Aug 24, 2023
1 parent 04187ca commit d41dae6
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions scripts/build-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,22 +86,22 @@ for TARGET_BRANCH in "${TARGET_BRANCHES[@]}"; do
if [[ $TARGET_BRANCH == "rampup-before-accidental-merge" ]]; then
BRANCH_NAME="rampup"
fi
if [[ $TARGET_BRANCH == "berkeley" ]]; then
goenv install --skip-existing 1.19.12
goenv global 1.19.12
else
goenv install --skip-existing 1.18.10
goenv global 1.18.10
fi
# if [[ $TARGET_BRANCH == "berkeley" ]]; then
# goenv install --skip-existing 1.19.12
# goenv global 1.19.12
# else
# goenv install --skip-existing 1.18.10
# goenv global 1.18.10
# fi

echo ""
echo "[INFO] Updating GoEnv environment variables"
echo ""
export GOENV_ROOT="$HOME/.goenv"
export PATH="$GOENV_ROOT/bin:$PATH"
eval "$(goenv init -)"
export PATH="$GOROOT/bin:$PATH"
export PATH="$PATH:$GOPATH/bin"
# echo ""
# echo "[INFO] Updating GoEnv environment variables"
# echo ""
# export GOENV_ROOT="$HOME/.goenv"
# export PATH="$GOENV_ROOT/bin:$PATH"
# eval "$(goenv init -)"
# export PATH="$GOROOT/bin:$PATH"
# export PATH="$PATH:$GOPATH/bin"

gitPullAll && gitPullAll
git checkout ${TARGET_BRANCH}
Expand Down

0 comments on commit d41dae6

Please sign in to comment.