new/version-input #3

Merged
jake merged 11 commits from new/version-input into main 2026-05-27 18:55:06 +00:00
Showing only changes of commit b4cb46f3a6 - Show all commits

View File

@@ -44,18 +44,16 @@ if [[ -z $GO_INSTALL_VERSION ]]; then
fixVersion
fi
else
DL_VERSION_RAW=$GO_INSTALL_VERSION
DL_VERSION=$GO_INSTALL_VERSION
fi
echo "Found go version: ${DL_VERSION_RAW}"
echo "Found go version: ${DL_VERSION}"
DL_ARCH=$GO_INSTALL_ARCH
# DL_VSPL=( $DL_VERSION_RAW )
# DL_VERSION="${DL_VSPL[1]}"
# #ensure we have patch-level version, if not add 0 for stable releases
# # -P uses perl syntax
#ensure we have patch-level version, if not add 0 for stable releases
# -P uses perl syntax
# DL_VERSION_PAD_CHECK="$(grep "^go [0-9]+.[0-9]+.[0-9]+" go.mod -P)"
# if [[ -z "$DL_VERSION_PAD_CHECK" ]]; then
# DL_VERSION="$DL_VERSION"".0"