Skip to content

Commit

Permalink
Set PackRelease to true in the Sqids.csproj file
Browse files Browse the repository at this point in the history
So that `dotnet pack` uses the `Release` configuration as opposed to
`Debug`, which strangely enough is its default.
See:
- https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-pack
- https://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/8.0/dotnet-pack-config

Apparently the default is changing in .NET 8, but until then, we need to
explicitly specify this.
  • Loading branch information
aradalvand committed Aug 8, 2023
1 parent e4a26ee commit c069d94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Sqids/Sqids.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
<OutputType>Library</OutputType>

<PackageId>Sqids</PackageId>
<Version>1.0.3</Version>
<Version>1.0.4</Version>
<Description>Official .NET port of Sqids. Generate short YouTube-looking IDs from numbers.</Description>
<PackRelease>true</PackRelease>
<PackageTags>Sqids;ID-generator;number-obfuscator;YouTube-ID</PackageTags>
<PackageIconUrl>https://raw.githubusercontent.com/sqids/sqids-dotnet/main/icon.png</PackageIconUrl>
<PackageIcon>icon.png</PackageIcon>
Expand Down

0 comments on commit c069d94

Please sign in to comment.