forked from stratisproject/StratisFullNode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PushNuget.ps1
108 lines (80 loc) · 7.77 KB
/
PushNuget.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# BASE PROJECTS
rm "src\NBitcoin\bin\Release\" -Recurse -Force
dotnet pack src\NBitcoin --configuration Release --include-source --include-symbols
dotnet nuget push "src\NBitcoin\bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin\bin\release\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin --configuration Release --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin\bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json"
#FEATURES PROJECTS
rm "src\Stratis.Bitcoin.Features.Api\bin\Release\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.Api --configuration Release --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.Api\bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Features.BlockStore\bin\Release\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.BlockStore --configuration Release --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.BlockStore\bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Features.Consensus\bin\Release\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.Consensus --configuration Release --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.Consensus\bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Features.Dns\bin\Release\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.Dns --configuration Release --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.Dns\bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Features.LightWallet\bin\Release\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.LightWallet --configuration Release --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.LightWallet\bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Features.MemoryPool\bin\Release\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.MemoryPool --configuration Release --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.MemoryPool\bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Features.Miner\bin\Release\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.Miner --configuration Release --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.Miner\bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Features.PoA\bin\Release\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.PoA --configuration Release --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.PoA\bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Features.Notifications\bin\Release\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.Notifications --configuration Release --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.Notifications\bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Features.RPC\bin\Release\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.RPC --configuration Release --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.RPC\bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Features.SmartContracts\bin\Release\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.SmartContracts --configuration Release --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.SmartContracts\bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Features.Wallet\bin\Release\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.Wallet --configuration Release --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.Wallet\bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Features.WatchOnlyWallet\bin\Release\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.WatchOnlyWallet --configuration Release --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.WatchOnlyWallet\bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Networks\bin\Release\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Networks --configuration Release --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Networks\bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Features.Collateral\bin\Release\" -Recurse -Force
dotnet pack src\Stratis.Features.Collateral --configuration Release --include-source --include-symbols
dotnet nuget push "src\Stratis.Features.Collateral\bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Features.FederatedPeg\bin\Release\" -Recurse -Force
dotnet pack src\Stratis.Features.FederatedPeg --configuration Release --include-source --include-symbols
dotnet nuget push "src\Stratis.Features.FederatedPeg\bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Features.SQLiteWalletRepository\bin\Release\" -Recurse -Force
dotnet pack src\Stratis.Features.SQLiteWalletRepository --configuration Release --include-source --include-symbols
dotnet nuget push "src\Stratis.Features.SQLiteWalletRepository\bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Features.ColdStaking\bin\Release\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.ColdStaking --configuration Release --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.ColdStaking\bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Interop.Contracts\bin\Release\" -Recurse -Force
dotnet pack src\Stratis.Interop.Contracts --configuration Release --include-source --include-symbols
dotnet nuget push "src\Stratis.Interop.Contracts\bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json"
# TEST PROJECTS
rm "src\Stratis.Bitcoin.Tests.Common\bin\Release\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Tests.Common --configuration Release --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Tests.Common\bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.IntegrationTests.Common\bin\Release\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.IntegrationTests.Common --configuration Release --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.IntegrationTests.Common\bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Features.PoA.IntegrationTests.Common\bin\Release\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.PoA.IntegrationTests.Common --configuration Release --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.PoA.IntegrationTests.Common\bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json"
# TOOLS PROJECTS
rm "src\FodyNlogAdapter\bin\Release\" -Recurse -Force
dotnet pack src\FodyNlogAdapter --configuration Release --include-source --include-symbols
dotnet nuget push "src\FodyNlogAdapter\bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json"
PAUSE