-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixes * Remove Keys
- Loading branch information
Showing
4 changed files
with
61 additions
and
78 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,95 +1,78 @@ | ||
|
||
# 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\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\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" | ||
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\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.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\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.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\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.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\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.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\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.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\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.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\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.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\debug\" -Recurse -Force | ||
dotnet pack src\Stratis.Bitcoin.Features.PoA --configuration Debug --include-source --include-symbols | ||
dotnet nuget push "src\Stratis.Bitcoin.Features.PoA\bin\debug\*.symbols.nupkg" --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\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.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\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.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.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.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\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" | ||
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\debug\" -Recurse -Force | ||
dotnet pack src\Stratis.Bitcoin.Networks --configuration Debug --include-source --include-symbols | ||
dotnet nuget push "src\Stratis.Bitcoin.Networks\bin\debug\*.symbols.nupkg" --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\debug\" -Recurse -Force | ||
dotnet pack src\Stratis.Features.Collateral --configuration Debug --include-source --include-symbols | ||
dotnet nuget push "src\Stratis.Features.Collateral\bin\debug\*.symbols.nupkg" --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\debug\" -Recurse -Force | ||
dotnet pack src\Stratis.Features.FederatedPeg --configuration Debug --include-source --include-symbols | ||
dotnet nuget push "src\Stratis.Features.FederatedPeg\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" | ||
|
||
rm "src\Stratis.Bitcoin.Features.PoA.IntegrationTests.Common\bin\debug\" -Recurse -Force | ||
dotnet pack src\Stratis.Bitcoin.Features.PoA.IntegrationTests.Common --configuration Debug --include-source --include-symbols | ||
dotnet nuget push "src\Stratis.Bitcoin.Features.PoA.IntegrationTests.Common\bin\debug\*.symbols.nupkg" --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" | ||
|
||
# TOOLS PROJECTS | ||
|
||
rm "src\FodyNlogAdapter\bin\debug\" -Recurse -Force | ||
dotnet pack src\FodyNlogAdapter --configuration Debug --include-source --include-symbols | ||
dotnet nuget push "src\FodyNlogAdapter\bin\debug\*.symbols.nupkg" --source "https://api.nuget.org/v3/index.json" | ||
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 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
$packageNames = @("Stratis.Sidechains.Networks","Stratis.SmartContracts.CLR", "Stratis.SmartContracts.CLR.Validation", "Stratis.SmartContracts.Core", "Stratis.SmartContracts.Networks","Stratis.SmartContracts.RuntimeObserver", "Stratis.Bitcoin.Features.SmartContracts") | ||
$packageNames = @("Stratis.Sidechains.Networks","Stratis.SmartContracts.CLR", "Stratis.SmartContracts.CLR.Validation", "Stratis.SmartContracts.Core", "Stratis.SmartContracts.Networks","Stratis.SmartContracts.RuntimeObserver", "Stratis.Bitcoin.Features.SmartContracts", "Stratis.SmartContracts.RuntimeObserver") | ||
|
||
# A little gross to have to enter src/ and then go back after, but this is where the file is atm | ||
cd "src" | ||
|
||
foreach ($packageName in $packageNames){ | ||
cd $packageName | ||
rm "bin\debug\" -Recurse -Force -ErrorAction Ignore | ||
dotnet pack --configuration Debug --include-source --include-symbols | ||
dotnet nuget push "bin\Debug\*.symbols.nupkg" --source "https://api.nuget.org/v3/index.json" | ||
rm "bin\Release\" -Recurse -Force -ErrorAction Ignore | ||
dotnet pack --configuration Release --include-source --include-symbols | ||
dotnet nuget push "bin\Release\*.symbols.nupkg" -k "" --source "https://api.nuget.org/v3/index.json" | ||
cd .. | ||
} | ||
|
||
cd .. | ||
cd .. |
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
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