From cd26aff6f9aad82e43c233d6e48b18447259f334 Mon Sep 17 00:00:00 2001 From: Junv Zhao Date: Sun, 6 Mar 2016 21:48:19 +0800 Subject: [PATCH] try to fix git url issue --- scripts/listall | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/listall b/scripts/listall index 1af0411..1c23d9c 100755 --- a/scripts/listall +++ b/scripts/listall @@ -32,11 +32,13 @@ read_command_line "$@" echo display_message "gvm gos (available)" echo -go_repo_url=repo_url +display_message "h==========" +go_repo_url=git@github.com:golang/go.git versions=$(git ls-remote -t ${go_repo_url} | awk -F/ '{ print $NF }' | $SORT_PATH) if [[ $? -ne 0 ]]; then display_fatal "Failed to get version list from Github" fi +display_message "~~~~~~~~~~~~~" for version in $versions; do if [[ "$tag_filter" == "release" ]]; then if [[ "${version:0:7}" == "release" ]]; then