Skip to content

Commit

Permalink
configure from gomod if config is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonaj committed Sep 5, 2023
1 parent b5251fb commit 4470a9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .teamcity/scripts/configure_goenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@

set -euo pipefail

go_version="$(goenv local)"
go_version="$(GOENV_GOMOD_VERSION_ENABLE=1 goenv local)"

goenv install --skip-existing "${go_version}" && goenv rehash

0 comments on commit 4470a9f

Please sign in to comment.