Skip to content

Commit 411a832

Browse files
committed
build: add symbols, add source link
1 parent 5a54cfb commit 411a832

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Prometheus.Client.MetricServer/Prometheus.Client.MetricServer.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Description>MetricServer for the Prometheus.Client</Description>
44
<Copyright>2020 © Serge K, Oleksandr Poliakov</Copyright>
55
<AssemblyTitle>Prometheus.Client.MetricServer</AssemblyTitle>
6-
<VersionPrefix>4.0.0</VersionPrefix>
6+
<VersionPrefix>4.0.1</VersionPrefix>
77
<Authors>Serge K, Oleksandr Poliakov</Authors>
88
<TargetFrameworks>netstandard2.0;netcoreapp2.2;netstandard2.1;netcoreapp3.1</TargetFrameworks>
99
<LangVersion>latest</LangVersion>
@@ -19,6 +19,9 @@
1919
<GenerateDocumentationFile>true</GenerateDocumentationFile>
2020
<SignAssembly>true</SignAssembly>
2121
<AssemblyOriginatorKeyFile>../../Prometheus.Client.MetricServer.snk</AssemblyOriginatorKeyFile>
22+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
23+
<IncludeSymbols>true</IncludeSymbols>
24+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2225
</PropertyGroup>
2326
<ItemGroup>
2427
<None Include="../../icon.png">
@@ -29,6 +32,7 @@
2932
</ItemGroup>
3033
<ItemGroup>
3134
<PackageReference Include="Prometheus.Client" Version="4.1.0" />
35+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
3236
</ItemGroup>
3337
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
3438
<FrameworkReference Include="Microsoft.AspNetCore.App" />

0 commit comments

Comments
 (0)