Created
April 8, 2014 07:00
-
-
Save ursenzler/10098444 to your computer and use it in GitHub Desktop.
executes nuget update on all Appccelrate repos
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
$scriptPath = split-path -parent $MyInvocation.MyCommand.Definition | |
cd $scriptPath | |
$solutions = Get-ChildItem $scriptPath -Recurse -Filter *.sln | |
foreach($solution in $solutions) | |
{ | |
write-host $solution.FullName | |
$packagesFolder = (Split-Path -parent $solution.FullName) + "\packages" | |
write-host using $packagesFolder as repository path | |
& nuget update -RepositoryPath $packagesFolder -Verbose -Source "https://www.nuget.org/api/v2/;https://teamcity.bbv.ch/guestAuth/app/nuget/v1/FeedService.svc/;$scriptPath\NuGetPackages" $solution.FullName | |
write-host "" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment