Skip to content

Commit 06f2748

Browse files
authored
Merge pull request #193 from cnblogs/fix-packing
fix: fix packing
2 parents ca887d7 + a7dfa46 commit 06f2748

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pack.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ set -e
55

66
version=$1
77
project=src/Enyim.Caching
8-
dotnet build -p:Version=${version-*} -c Release $project
8+
dotnet clean -c Release
9+
dotnet build -p:Version=${version-*} -c Release $project
910
dotnet pack $project -c Release -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --include-source -p:PackageVersion=$version -p:Version=${version-*} -o ./artifacts

src/Enyim.Caching/Enyim.Caching.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<RepositoryType>git</RepositoryType>
1414
<RepositoryUrl>https://github.com/cnblogs/EnyimMemcachedCore</RepositoryUrl>
1515
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
16-
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
16+
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
1717
<LangVersion>latest</LangVersion>
1818
<NoWarn>$(NoWarn);SYSLIB0011</NoWarn>
1919
</PropertyGroup>

0 commit comments

Comments
 (0)