forked from stratisproject/StratisBitcoinFullNode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PushNuget.ps1
67 lines (51 loc) · 4.78 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
# BASE PROJECTS
rm "src\NBitcoin\bin\debug\" -Recurse -Force
dotnet pack src\NBitcoin --configuration Debug --include-source --include-symbols
dotnet nuget push "src\NBitcoin\bin\debug\*.symbols.nupkg" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin\bin\debug\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin --configuration Debug --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin\bin\debug\*.symbols.nupkg" --source "https://api.nuget.org/v3/index.json"
#FEATURES PROJECTS
rm "src\Stratis.Bitcoin.Features.Api\bin\debug\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.Api --configuration Debug --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.Api\bin\debug\*.symbols.nupkg" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Features.BlockStore\bin\debug\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.BlockStore --configuration Debug --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.BlockStore\bin\debug\*.symbols.nupkg" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Features.Consensus\bin\debug\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.Consensus --configuration Debug --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.Consensus\bin\debug\*.symbols.nupkg" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Features.Dns\bin\debug\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.Dns --configuration Debug --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.Dns\bin\debug\*.symbols.nupkg" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Features.LightWallet\bin\debug\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.LightWallet --configuration Debug --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.LightWallet\bin\debug\*.symbols.nupkg" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Features.MemoryPool\bin\debug\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.MemoryPool --configuration Debug --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.MemoryPool\bin\debug\*.symbols.nupkg" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Features.Miner\bin\debug\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.Miner --configuration Debug --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.Miner\bin\debug\*.symbols.nupkg" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Features.Notifications\bin\debug\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.Notifications --configuration Debug --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.Notifications\bin\debug\*.symbols.nupkg" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Features.RPC\bin\debug\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.RPC --configuration Debug --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.RPC\bin\debug\*.symbols.nupkg" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Features.Wallet\bin\debug\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.Wallet --configuration Debug --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.Wallet\bin\debug\*.symbols.nupkg" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Features.WatchOnlyWallet\bin\debug\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Features.WatchOnlyWallet --configuration Debug --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Features.WatchOnlyWallet\bin\debug\*.symbols.nupkg" --source "https://api.nuget.org/v3/index.json"
# TESTS PROJECTS
rm "src\Stratis.Bitcoin.IntegrationTests.Common\bin\debug\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.IntegrationTests.Common --configuration Debug --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.IntegrationTests.Common\bin\debug\*.symbols.nupkg" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Tests.Common\bin\debug\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Tests.Common --configuration Debug --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Tests.Common\bin\debug\*.symbols.nupkg" --source "https://api.nuget.org/v3/index.json"
rm "src\Stratis.Bitcoin.Tests.Wallet.Common\bin\debug\" -Recurse -Force
dotnet pack src\Stratis.Bitcoin.Tests.Wallet.Common --configuration Debug --include-source --include-symbols
dotnet nuget push "src\Stratis.Bitcoin.Tests.Wallet.Common\bin\debug\*.symbols.nupkg" --source "https://api.nuget.org/v3/index.json"