Created
April 8, 2015 14:46
-
-
Save Kieranties/30f4b3614b087254f468 to your computer and use it in GitHub Desktop.
Test availability of vNext package
This file contains hidden or 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
$feedStub = "http://www.myget.org/F/{0}/api/v2/FindPackagesById()?Id='{1}'" | |
$package = "Microsoft.Framework.Runtime.Roslyn" | |
$feeds = @("aspnetmaster", "aspnetvnext") | |
$feeds | % { Invoke-RestMethod -uri ($feedStub -f $_, $package) } | select -ExpandProperty properties | select version | |
<# | |
Output | |
Version | |
------- | |
1.0.0-alpha3 | |
1.0.0-alpha4 | |
1.0.0-beta1 | |
1.0.0-beta3 | |
1.0.0-beta5-11427 | |
1.0.0-beta5-11443 | |
1.0.0-beta5-11445 | |
1.0.0-beta5-11446 | |
1.0.0-beta5-11447 | |
1.0.0-beta5-11450 | |
1.0.0-beta5-11451 | |
1.0.0-beta5-11456 | |
1.0.0-beta5-11462 | |
1.0.0-beta5-11463 | |
1.0.0-beta5-11466 | |
1.0.0-beta5-11469 | |
1.0.0-beta5-11479 | |
1.0.0-beta5-11481 | |
1.0.0-beta5-11482 | |
1.0.0-beta5-11485 | |
1.0.0-beta5-11491 | |
1.0.0-beta5-11497 | |
1.0.0-beta5-11498 | |
1.0.0-beta5-11499 | |
#> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment