Skip to content

Commit

Permalink
Revised publishing settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
lextm committed Apr 8, 2023
1 parent 37a97b8 commit e8d9740
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions SharpSnmpLib/SharpSnmpLib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>sharpsnmplib.snk</AssemblyOriginatorKeyFile>
<AssemblyOriginatorKeyMode>File</AssemblyOriginatorKeyMode>
<AssemblyVersion>12.5.1.0</AssemblyVersion>
<FileVersion>12.5.1.0</FileVersion>
<Version>12.5.1</Version>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<AndroidUseIntermediateDesignerFile>False</AndroidUseIntermediateDesignerFile>
Expand All @@ -36,12 +33,17 @@
<Nullable>enable</Nullable>
<IsTrimmable>true</IsTrimmable>
<IncludeSymbols>true</IncludeSymbols>
<DebugType>portable</DebugType>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<PropertyGroup>
<NoWarn>S5547;S907;S1133;S101;S1135</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="GitVersion.MsBuild" Version="5.12.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="all" />
<PackageReference Include="Nullable" Version="1.3.1">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
1 change: 1 addition & 0 deletions dist.publish2nugetdotorg.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.\nuget.exe update /self
for %%f in (.\*.nupkg) do .\nuget.exe push %%f -Source https://api.nuget.org/v3/index.json
for %%f in (.\*.snupkg) do .\nuget.exe push %%f -Source https://api.nuget.org/v3/index.json

0 comments on commit e8d9740

Please sign in to comment.