Skip to content

Commit

Permalink
OPL-12294: Finalize nuget packages (#11)
Browse files Browse the repository at this point in the history
* OPL-12294: Contracts nuget package.
  • Loading branch information
jakubsemerak committed Mar 6, 2024
1 parent 15cb9a0 commit 6334ac7
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
# If some rules are not applicable, you can disable them
# using the --excluded-rules or --excluded-rule-ids option
- name: Validate package
run: meziantou.validate-nuget-package (Get-ChildItem "${{ env.NuGetDirectory }}/*.nupkg") --excluded-rules Symbols --excluded-rule-ids 52
run: meziantou.validate-nuget-package (Get-ChildItem "${{ env.NuGetDirectory }}/*.nupkg")

dotnet-tests:
uses: ./.github/workflows/dotnet-tests.yml
Expand Down
3 changes: 3 additions & 0 deletions dotnet/UneceGenerator/UneceUnits.Contract/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# UneceUnits Contracts

This is a Contract project for the UneceUnits project that is used for working with UNECE rec. 20 and rec. 21 standards.
Original file line number Diff line number Diff line change
@@ -1,8 +1,40 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Title>UneceUnits.Contract</Title>
<RootNamespace>UneceUnits</RootNamespace>
<IsPackable>false</IsPackable>
<PackageId>UneceUnits.Contract</PackageId>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/quadient/unece-units</PackageProjectUrl>
<Copyright>https://www.quadient.com</Copyright>
<RepositoryUrl>https://github.com/quadient/unece-units</RepositoryUrl>
<Authors>Quadient, jakubsemerak, yardee</Authors>
<PackageTags>UNECE; contract; units; rec. 20; rec.21</PackageTags>
<Description>
UNECE Units Contract package for UneceUnits package for working with UNECE rec. 20 and rec. 21 standards.
</Description>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageReleaseNotes>https://github.com/quadient/unece-units/releases/</PackageReleaseNotes>

<!-- Generate XML documentation -->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>CS1591</NoWarn>
<PackageIcon>quadient.png</PackageIcon>
<EnablePackageValidation>true</EnablePackageValidation>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="MinVer" Version="5.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>

<PackageReference Include="DotNet.ReproducibleBuilds" Version="1.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<None Include="../quadient.png" Pack="true" PackagePath=""/>
<None Include="README.md" Pack="true" PackagePath=""/>
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion dotnet/UneceGenerator/UneceUnits/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Unece Units
# UneceUnits

UNECE Units generated structures for working with UNECE rec. 20 and rec. 21 standards.

Expand Down
10 changes: 8 additions & 2 deletions dotnet/UneceGenerator/UneceUnits/UneceUnits.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@
</Description>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageReleaseNotes>https://github.com/quadient/unece-units/releases/</PackageReleaseNotes>

<!-- Generate XML documentation -->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>CS0618,CS1591</NoWarn>
<PackageIcon>quadient.png</PackageIcon>
<EnablePackageValidation>true</EnablePackageValidation>
</PropertyGroup>

<ItemGroup>
Expand All @@ -30,9 +31,14 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>

<PackageReference Include="DotNet.ReproducibleBuilds" Version="1.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<None Include="README.md" Pack="true" PackagePath=""/>
<None Include="quadient.png" Pack="true" PackagePath=""/>
<None Include="../quadient.png" Pack="true" PackagePath=""/>
</ItemGroup>
</Project>
File renamed without changes

0 comments on commit 6334ac7

Please sign in to comment.