-
Notifications
You must be signed in to change notification settings - Fork 0
/
delete-nugets.ps1
36 lines (34 loc) · 943 Bytes
/
delete-nugets.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
$source = "http://172.31.0.156:1500/v3/index.json"
$key = "X2eSDCBwnVWumXx3"
$packages = @(
"Gig.Framework.Api",
"Gig.Framework.Application",
"Gig.Framework.Application.ReadModel",
"Gig.Framework.Bus",
"Gig.Framework.Caching",
"Gig.Framework.Config",
"Gig.Framework.Core",
"Gig.Framework.Data.Elastic",
"Gig.Framework.DependencyInjection.Autofac",
"Gig.Framework.DependencyInjection.Windsor",
"Gig.Framework.Domain",
"Gig.Framework.Facade",
"Gig.Framework.Persistence.Ef",
"Gig.Framework.ReadModel",
"Gig.Framework.RuleEngine",
"Gig.Framework.RuleEngine.Contract",
"Gig.Framework.Scheduling",
"Gig.Framework.Security",
"Gig.Framework.Workflow",
"Gig.Framework.Workflow.Contract",
"Gig.Framework.TestUtilities"
)
$versions = @("2.7.0.37" )
foreach ($version in $versions)
{
foreach ($package in $packages)
{
dotnet nuget delete $package $version --source $source --api-key $key --non-interactive
}
}
Write-Host "Finished!"