Skip to content

Instantly share code, notes, and snippets.

@deanrad
Last active March 30, 2016 17:25
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deanrad/63838da3b3b768981f19 to your computer and use it in GitHub Desktop.
Save deanrad/63838da3b3b768981f19 to your computer and use it in GitHub Desktop.
Get latest Meteor 1.3 RC or release
(curl -sI --fail https://github.com/meteor/meteor/tree/release/METEOR%401.3 > /dev/null && echo METEOR@1.3) ||
(curl -sI --fail https://github.com/meteor/meteor/tree/release/METEOR%401.3-rc.8 > /dev/null && echo METEOR@1.3-rc.8) ||
(curl -sI --fail https://github.com/meteor/meteor/tree/release/METEOR%401.3-rc.7 > /dev/null && echo METEOR@1.3-rc.7) ||
(curl -sI --fail https://github.com/meteor/meteor/tree/release/METEOR%401.3-rc.6 > /dev/null && echo METEOR@1.3-rc.6) ||
(curl -sI --fail https://github.com/meteor/meteor/tree/release/METEOR%401.3-rc.5 > /dev/null && echo METEOR@1.3-rc.5) ||
(curl -sI --fail https://github.com/meteor/meteor/tree/release/METEOR%401.3-rc.4 > /dev/null && echo METEOR@1.3-rc.4) ||
(curl -sI --fail https://github.com/meteor/meteor/tree/release/METEOR%401.3-rc.3 > /dev/null && echo METEOR@1.3-rc.3) ||
(curl -sI --fail https://github.com/meteor/meteor/tree/release/METEOR%401.3-rc.2 > /dev/null && echo METEOR@1.3-rc.2)
@deanrad
Copy link
Author

deanrad commented Mar 16, 2016

Use this:

> curl -sL http://bit.ly/latest-meteor-13-rc | sh
METEOR@1.3-rc.2

OR

> meteor update --release $(curl -sL http://bit.ly/latest-meteor-13-rc | sh)

@Mindgames
Copy link

@deanius cool, handy little script! GJ

@batjko
Copy link

batjko commented Mar 17, 2016

Any chance for a Windows version?

@deanrad
Copy link
Author

deanrad commented Mar 17, 2016

@batjko If you make it. Look up Cygwin, it'll help you utilize more of what's posted for you already.

@deanrad
Copy link
Author

deanrad commented Mar 30, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment