Skip to content

Instantly share code, notes, and snippets.

Avatar

Zachary Yedidia zyedidia

View GitHub Profile
View install_micro.sh
#!/usr/bin/env bash
set -e
OS=$1
INSTALLDIR=${2:-"."}
function githubLatestTag {
finalUrl=`curl https://github.com/$1/releases/latest -s -L -I -o /dev/null -w '%{url_effective}'`
echo "${finalUrl##*v}"
}
You can’t perform that action at this time.