Add function to list all releases

This commit is contained in:
Joshua Bussdieker
2012-01-15 22:36:22 -08:00
parent fd655910be
commit b8a7cccff4
+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
if [[ $1 == "install" ]]; then
echo "
gvm gos (available)
"
curl -s https://go.googlecode.com/hg/.hgtags | awk '{ print $2 }'
if [[ $? -ne 0 ]]; then
echo "Failed to get list from Google"
exit 1
fi
echo
else
echo "Please use gvm [action] to call this file"
exit 1
fi