adjusting defaults for version input
This commit is contained in:
@@ -39,7 +39,7 @@ function fixVersion {
|
||||
|
||||
echo "Parsing go version"
|
||||
#check install version field first
|
||||
if [[ -z $GO_INSTALL_VERSION ]]; then
|
||||
if [[ -z "$GO_INSTALL_VERSION" ]]; then
|
||||
echo "No version input found, checking go.mod files"
|
||||
# -P uses perl syntax
|
||||
DL_VERSION_RAW="$(grep "^go [0-9]+.[0-9]+" go.mod -P)"
|
||||
|
||||
Reference in New Issue
Block a user