diff --git a/internal/resolve/resolve.go b/internal/resolve/resolve.go index 7f2a2256a..727e2b13b 100644 --- a/internal/resolve/resolve.go +++ b/internal/resolve/resolve.go @@ -131,5 +131,5 @@ func parseVersion(rawVersions string) []string { } func variableVersionName(toolName string) string { - return fmt.Sprintf("ASDF_%s_VERSION", strings.ToUpper(toolName)) + return fmt.Sprintf("ASDF_%s_VERSION", strings.ToUpper(strings.ReplaceAll(toolName, "-", "_")) }