Created
August 4, 2017 11:06
-
-
Save phdoerfler/5ff19ae616cd7c034538abab46ad1c90 to your computer and use it in GitHub Desktop.
Outputs the latest version of SBT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sbtlatest() { | |
curl -s "https://github.com/sbt/sbt/releases/latest" | perl -pe 's/^.*href="(.*)".*$/$1/' | perl -pe 's/^.*tag\/v(.*).*$/$1/' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Followed by: