Skip to content

Commit 390a67b

Browse files
committed
Generate a snupkg
1 parent 5e02964 commit 390a67b

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

Build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ foreach ($src in ls src/*) {
2323

2424
echo "build: Packaging project in $src"
2525

26-
& dotnet build -c Release --version-suffix=$buildSuffix
26+
& dotnet build -c Release --version-suffix=$buildSuffix /p:ContinuousIntegrationBuild=true
2727

2828
if($suffix) {
2929
& dotnet pack -c Release --include-source --no-build -o ..\..\artifacts --version-suffix=$suffix

appveyor.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ build_script:
77
test: off
88
artifacts:
99
- path: artifacts/Serilog.*.nupkg
10+
- path: artifacts/Serilog.*.snupkg
1011
deploy:
1112
- provider: NuGet
1213
api_key:
@@ -17,7 +18,9 @@ deploy:
1718
- provider: GitHub
1819
auth_token:
1920
secure: p4LpVhBKxGS5WqucHxFQ5c7C8cP74kbNB0Z8k9Oxx/PMaDQ1+ibmoexNqVU5ZlmX
20-
artifact: /Serilog.*\.nupkg/
21+
artifacts:
22+
/Serilog.*\.nupkg/
23+
/Serilog.*\.snupkg/
2124
tag: v$(appveyor_build_version)
2225
on:
2326
branch: master

src/Serilog.Settings.AppSettings/Serilog.Settings.AppSettings.csproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@
2020
<PackageReadmeFile>README.md</PackageReadmeFile>
2121
<PackageProjectUrl>https://github.com/serilog/serilog-settings-appsettings</PackageProjectUrl>
2222
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
23-
<RepositoryUrl>https://github.com/serilog/serilog-settings-appsettings</RepositoryUrl>
2423
<RepositoryType>git</RepositoryType>
25-
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
24+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
25+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
26+
<IncludeSymbols>true</IncludeSymbols>
27+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2628
<DelaySign>false</DelaySign>
2729
</PropertyGroup>
2830

0 commit comments

Comments
 (0)