handle versions with leading v stripped
1 files changed, 4 insertions(+), 0 deletions(-) M lib/utils.bash
M lib/utils.bash => lib/utils.bash +4 -0
@@ 60,6 60,10 @@ download_sources() { local version="$1" local source_path="$2" + if !echo "$version" | grep '^v.*' ; then + version="v$version" + fi + mkdir -p "$source_path" git clone --branch "$version" "$GIT_REPO" "$source_path" }