Skip to content

Commit

Permalink
fix: fix packing
Browse files Browse the repository at this point in the history
  • Loading branch information
cnblogs-dudu committed Jan 29, 2023
1 parent ca887d7 commit a7dfa46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ set -e

version=$1
project=src/Enyim.Caching
dotnet build -p:Version=${version-*} -c Release $project
dotnet clean -c Release
dotnet build -p:Version=${version-*} -c Release $project
dotnet pack $project -c Release -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --include-source -p:PackageVersion=$version -p:Version=${version-*} -o ./artifacts
2 changes: 1 addition & 1 deletion src/Enyim.Caching/Enyim.Caching.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/cnblogs/EnyimMemcachedCore</RepositoryUrl>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<LangVersion>latest</LangVersion>
<NoWarn>$(NoWarn);SYSLIB0011</NoWarn>
</PropertyGroup>
Expand Down

0 comments on commit a7dfa46

Please sign in to comment.