Skip to content

Commit

Permalink
Allow package ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
dariogriffo committed Oct 10, 2021
1 parent 1961156 commit 40815ce
Show file tree
Hide file tree
Showing 5 changed files with 195 additions and 148 deletions.
63 changes: 35 additions & 28 deletions src/SHA3.Net/SHA3.Net.csproj
Original file line number Diff line number Diff line change
@@ -1,33 +1,40 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net45;net46;netstandard2.0;netstandard2.1</TargetFrameworks>
<Version>1.3.0</Version>
<Authors>https://github.com/griffo-io</Authors>
<Company>https://github.com/griffo-io</Company>
<Product>SHA3.Net</Product>
<Copyright>https://github.com/griffo-io</Copyright>
<Description>SHA3 wrapper of the BouncyCastle implementation, implementing System.Security.Cryptography.HashAlgorithm</Description>
<LicenseUrl>https://raw.githubusercontent.com/griffo-io/sha3.net/master/LICENSE</LicenseUrl>
<PackageProjectUrl>https://github.com/griffo-io/sha3.net</PackageProjectUrl>
<RepositoryUrl>https://github.com/griffo-io/sha3.net</RepositoryUrl>
<Product>SHA3.Net</Product>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>net45;net46;netstandard2.0;netstandard2.1</TargetFrameworks>
<Version>1.3.0</Version>
<Authors>https://github.com/griffo-io</Authors>
<Company>https://github.com/griffo-io</Company>
<Product>SHA3.Net</Product>
<Copyright>https://github.com/griffo-io</Copyright>
<Description>SHA3 wrapper of the BouncyCastle implementation, implementing System.Security.Cryptography.HashAlgorithm</Description>
<LicenseUrl>https://raw.githubusercontent.com/griffo-io/sha3.net/master/LICENSE</LicenseUrl>
<PackageProjectUrl>https://github.com/griffo-io/sha3.net</PackageProjectUrl>
<RepositoryUrl>https://github.com/griffo-io/sha3.net</RepositoryUrl>
<Product>SHA3.Net</Product>
<DebugSymbols>true</DebugSymbols>
<EmbedAllSources>true</EmbedAllSources>
<DebugType>portable</DebugType>
</PropertyGroup>

<PropertyGroup>
<PackageIcon>images\icon.png</PackageIcon>
<PackageTags>SHA3</PackageTags>
<PackageReleaseNotes>Override HashSize property</PackageReleaseNotes>
<PackageLicenseFile>license\license.txt</PackageLicenseFile>
</PropertyGroup>
<ItemGroup>
<None Include="licenses\license.txt" Pack="true" PackagePath="license"/>
<None Include="licenses\BouncyCastle.LICENSE" Pack="true" PackagePath="license"/>
<None Include="images\icon.png" Pack="true" PackagePath="images"/>
</ItemGroup>

<ItemGroup>
<PackageReference Include="BouncyCastle.NetCore" Version="1.8.5" />
</ItemGroup>
<PropertyGroup>
<PackageIcon>images\icon.png</PackageIcon>
<PackageTags>SHA3</PackageTags>
<PackageReleaseNotes>Override HashSize property</PackageReleaseNotes>
<PackageLicenseFile>license\license.txt</PackageLicenseFile>
</PropertyGroup>
<ItemGroup>
<None Include="licenses\license.txt" Pack="true" PackagePath="license" />
<None Include="licenses\BouncyCastle.LICENSE" Pack="true" PackagePath="license" />
<None Include="images\icon.png" Pack="true" PackagePath="images" />
</ItemGroup>
<PropertyGroup>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="BouncyCastle.NetCore" Version="[1.8.1.1,)" />
</ItemGroup>

</Project>
28 changes: 16 additions & 12 deletions src/SHA3.Net/SHA3.Net.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,30 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>SHA3.Net</id>
<version>1.2.3</version>
<authors>https://github.com/griffo-io</authors>
<owners>https://github.com/griffo-io</owners>
<version>1.3.1</version>
<authors>https://github.com/dariogriffo</authors>
<owners>https://github.com/dariogriffo</owners>
<tags>SHA3</tags>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="file">license.txt</license>
<projectUrl>https://github.com/griffo-io/SHA3.Net</projectUrl>
<license type="expression">MIT</license>
<projectUrl>https://github.com/dariogriffo/SHA3.Net</projectUrl>
<icon>icon.png</icon>
<description>SHA3 wrapper of the BouncyCastle implementation, implementing System.Security.Cryptography.HashAlgorithm</description>
<copyright>griffo.io</copyright>
<repository url="https://github.com/griffo-io/SHA3.Net" />
<releaseNotes>Update BouncyCastle.NetCore</releaseNotes>
<copyright>Dario Griffo</copyright>
<repository url="https://github.com/dariogriffo/SHA3.Net" />
<releaseNotes>Allow version ranges of BouncyCastle</releaseNotes>
<dependencies>
<group targetFramework=".NETFramework4.5">
<dependency id="BouncyCastle.NetCore" version="1.8.5" exclude="Build,Analyzers" />
<dependency id="BouncyCastle.NetCore" version="[1.8.1.1,)" exclude="Build,Analyzers" />
</group>
<group targetFramework=".NETFramework4.6">
<dependency id="BouncyCastle.NetCore" version="1.8.5" exclude="Build,Analyzers" />
<dependency id="BouncyCastle.NetCore" version="[1.8.1.1,)" exclude="Build,Analyzers" />
</group>
<group targetFramework=".NETStandard2.0">
<dependency id="BouncyCastle.NetCore" version="1.8.5" exclude="Build,Analyzers" />
<dependency id="BouncyCastle.NetCore" version="[1.8.1.1,)" exclude="Build,Analyzers" />
</group>
<group targetFramework=".NETStandard2.1">
<dependency id="BouncyCastle.NetCore" version="1.8.5" exclude="Build,Analyzers" />
<dependency id="BouncyCastle.NetCore" version="[1.8.1.1,)" exclude="Build,Analyzers" />
</group>
</dependencies>
</metadata>
Expand All @@ -37,5 +37,9 @@
<file src="bin\Release\net46\SHA3.Net.dll" target="lib\net46" />
<file src="bin\Release\netstandard2.0\SHA3.Net.dll" target="lib\netstandard2.0" />
<file src="bin\Release\netstandard2.1\SHA3.Net.dll" target="lib\netstandard2.1" />
<file src="bin\Release\net45\SHA3.Net.pdb" target="lib\net45" />
<file src="bin\Release\net46\SHA3.Net.pdb" target="lib\net46" />
<file src="bin\Release\netstandard2.0\SHA3.Net.pdb" target="lib\netstandard2.0" />
<file src="bin\Release\netstandard2.1\SHA3.Net.pdb" target="lib\netstandard2.1" />
</files>
</package>

0 comments on commit 40815ce

Please sign in to comment.