Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

Commit

Permalink
Update Smart Contract project versions and Update Nuget Scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
fassadlr committed Sep 27, 2019
1 parent 7233cb0 commit 20f279e
Show file tree
Hide file tree
Showing 12 changed files with 34 additions and 11 deletions.
8 changes: 8 additions & 0 deletions PushNuget.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,14 @@ 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.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.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
Expand Down
2 changes: 1 addition & 1 deletion PushSCNuget.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$packageNames = @("Stratis.SmartContracts.RuntimeObserver", "Stratis.SmartContracts.Core", "Stratis.SmartContracts.CLR", "Stratis.SmartContracts.CLR.Validation", "Stratis.SmartContracts.Standards", "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")

# A little gross to have to enter src/ and then go back after, but this is where the file is atm
cd "src"
Expand Down
4 changes: 2 additions & 2 deletions src/NBitcoin/NBitcoin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

<PropertyGroup>
<Company>NStratis</Company>
<Copyright>Copyright © Stratis Platform SA 2017</Copyright>
<Copyright>Copyright © Stratis Platform SA 2019</Copyright>
<Description>The C# Bitcoin Library based on NBitcoin</Description>
</PropertyGroup>

<PropertyGroup>
<Version>4.0.0.74</Version>
<Version>4.0.0.77</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<Version>0.0.6-beta</Version>
<Version>1.0.2.0</Version>
<Authors>Stratis Group Ltd.</Authors>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<Version>3.0.5.0</Version>
<Authors>Stratis Group Ltd.</Authors>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
<TargetFramework>netcoreapp2.1</TargetFramework>
<DebugType>Full</DebugType>
<CodeAnalysisRuleSet>..\None.ruleset</CodeAnalysisRuleSet>
<Version>3.0.5.0</Version>
<Authors>Stratis Group Ltd.</Authors>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<TargetFramework>netcoreapp2.1</TargetFramework>
<DebugType>Full</DebugType>
<CodeAnalysisRuleSet>..\None.ruleset</CodeAnalysisRuleSet>
<Version>1.0.2.0</Version>
<Authors>Stratis Group Ltd.</Authors>
<Company>Stratis Group Ltd.</Company>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<Version>0.0.3-beta</Version>
<Version>1.0.2.0</Version>
<Authors>Stratis Group Ltd.</Authors>
<Company>Stratis Group Ltd.Stratis Group Ltd.</Company>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<AssemblyVersion>0.0.6.0</AssemblyVersion>
<FileVersion>0.0.6.0</FileVersion>
<Version>0.0.6-beta</Version>
<AssemblyVersion>1.0.2.0</AssemblyVersion>
<FileVersion>0.0.2.0</FileVersion>
<Version>1.0.2.0</Version>
<Authors>Stratis Group Ltd.</Authors>
<Company>Stratis Group Ltd.</Company>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<Version>0.0.2-beta</Version>
<Version>1.0.2.0</Version>
<Authors>Stratis Group Ltd.</Authors>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<Version>0.0.1-beta</Version>
<Version>1.0.2.0</Version>
<Authors>Stratis Group Ltd.</Authors>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<Version>0.0.2-beta</Version>
<Version>1.0.2.0</Version>
<Authors>Stratis Group Ltd.</Authors>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 20f279e

Please sign in to comment.