diff --git a/scripts/listall b/scripts/listall index c1df127..04acfc7 100755 --- a/scripts/listall +++ b/scripts/listall @@ -1,11 +1,14 @@ #!/bin/bash . $GVM_ROOT/scripts/functions -curl -s https://go.googlecode.com/hg/.hgtags | awk '{ print $2 }' echo display_message "gvm gos (available)" echo +versions=`curl -s https://go.googlecode.com/hg/.hgtags | awk '{ print $2 }' | grep "release" | sort` if [[ $? -ne 0 ]]; then display_error "Failed to get version list from Google" fi +for version in $versions; do + echo " $version" +done echo