Skip to content

Commit

Permalink
Fix dotnet pack (#135) (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
mom-bbtsoftware authored Mar 17, 2023
1 parent ee7094b commit 16abede
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ jobs:
run: dotnet pack -c $BUILD_CONFIG -p:PackageVersion=$BUILD_VERSION

- name: Publish NuGet
run: nuget push ./BBT.MaybePattern/bin/Release/BBT.MaybePattern.$BUILD_VERSION.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGETORG}}
run: nuget push ./BBT.MaybePattern/bin/Release/BBT.Maybe.$BUILD_VERSION.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGETORG}}
15 changes: 11 additions & 4 deletions src/BBT.MaybePattern/BBT.MaybePattern.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,28 @@
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<AssemblyTitle>BBT.MaybePattern</AssemblyTitle>
<CodeAnalysisRuleSet>..\BBT.MaybePattern.ruleset</CodeAnalysisRuleSet>
<DocumentationFile>bin\$(Configuration)\BBT.MaybePattern.XML</DocumentationFile>
<DocumentationFile>bin\$(Configuration)\BBT.MaybePattern.xml</DocumentationFile>
<OutputPath>bin\$(Configuration)\</OutputPath>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>

<PropertyGroup>
<Title>BBT.MaybePattern</Title>
<Description>An option type for .NET</Description>
<Product>BBT.MaybePattern</Product>
<Title>BBT Maybe</Title>
<Description>An option type for .NET.</Description>
<Product>BBT.Maybe</Product>
<Company>BBT Software AG</Company>
<Authors>BBT Software AG</Authors>
<Copyright>Copyright © BBT Software AG</Copyright>
<PackageId>BBT.Maybe</PackageId>
<PackageTags>Maybe Functional</PackageTags>
<PackageIcon>icon.png</PackageIcon>
<PackageProjectUrl>https://github.com/bbtsoftware/BBT.Maybe/</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/bbtsoftware/BBT.Maybe.git</RepositoryUrl>
<PackageReleaseNotes>https://github.com/bbtsoftware/BBT.Maybe/releases/tag/3.1.1</PackageReleaseNotes>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb;.xml</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand All @@ -33,6 +36,10 @@
<DebugType>pdbonly</DebugType>
</PropertyGroup>

<ItemGroup>
<None Include="icon.png" Pack="true" PackagePath=""/>
</ItemGroup>

<ItemGroup>
<PackageReference Include="SauceControl.InheritDoc" Version="1.3.0">
<PrivateAssets>all</PrivateAssets>
Expand Down

0 comments on commit 16abede

Please sign in to comment.