Skip to content

Commit

Permalink
Refs #2 - Deterministic Builds and Github SourceLink
Browse files Browse the repository at this point in the history
Version bump and equalizing minor/patch versions:
InterpolatedLogging.Microsoft.Extensions.Logging 5.0.4
InterpolatedLogging.NLog 4.0.4
InterpolatedLogging.Serilog 2.0.4
  • Loading branch information
Drizin committed Feb 13, 2022
1 parent 7669672 commit f85f25f
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@
<Description>Extensions to Microsoft.Extensions.Logging to write Log Messages using Interpolated Strings without losing Structured Property Names</Description>
<Copyright>Rick Drizin</Copyright>
<Company>Rick Drizin</Company>
<Version>5.0.2</Version>
<Version>5.0.4</Version>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<PackageId>InterpolatedLogging.Microsoft.Extensions.Logging</PackageId>
<DocumentationFile>InterpolatedLogging.Microsoft.Extensions.Logging.xml</DocumentationFile>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<Choose>
Expand All @@ -32,6 +34,10 @@

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging" Version="5.*" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<package >
<metadata>
<id>InterpolatedLogging.Microsoft.Extensions.Logging</id>
<version>5.0.2</version>
<title>InterpolatedLogging.Microsoft.Extensions.Logging</title>
<authors>Rick Drizin</authors>
<owners>Rick Drizin</owners>
Expand All @@ -12,7 +11,6 @@
<description>Extensions to Microsoft.Extensions.Logging to write Log Messages using Interpolated Strings without losing Structured Property Names</description>
<copyright>Copyright Rick Drizin 2021</copyright>
<tags>dapper;query builder</tags>
<repository type="git" url="https://github.com/Drizin/InterpolatedLogging" commit="e78d750054c321c719359a96d570453a9f27598e" />
<dependencies>
</dependencies>
</metadata>
Expand Down
8 changes: 7 additions & 1 deletion src/InterpolatedLogging.NLog/InterpolatedLogging.NLog.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@
<Description>Extensions to NLog to write Log Messages using Interpolated Strings without losing Structured Property Names</Description>
<Copyright>Rick Drizin</Copyright>
<Company>Rick Drizin</Company>
<Version>4.0.2</Version>
<Version>4.0.4</Version>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<PackageId>InterpolatedLogging.NLog</PackageId>
<DocumentationFile>InterpolatedLogging.NLog.xml</DocumentationFile>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<Choose>
Expand All @@ -31,6 +33,10 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="NLog" Version="4.*" />
</ItemGroup>

Expand Down
2 changes: 0 additions & 2 deletions src/InterpolatedLogging.NLog/InterpolatedLogging.NLog.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<package >
<metadata>
<id>InterpolatedLogging.NLog</id>
<version>4.0.2</version>
<title>InterpolatedLogging.NLog</title>
<authors>Rick Drizin</authors>
<owners>Rick Drizin</owners>
Expand All @@ -12,7 +11,6 @@
<description>Extensions to NLog to write Log Messages using Interpolated Strings without losing Structured Property Names</description>
<copyright>Copyright Rick Drizin 2021</copyright>
<tags>dapper;query builder</tags>
<repository type="git" url="https://github.com/Drizin/InterpolatedLogging" commit="e78d750054c321c719359a96d570453a9f27598e" />
<dependencies>
</dependencies>
</metadata>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@
<Description>Extensions to Serilog to write Log Messages using Interpolated Strings without losing Structured Property Names</Description>
<Copyright>Rick Drizin</Copyright>
<Company>Rick Drizin</Company>
<Version>2.0.3</Version>
<Version>2.0.4</Version>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<PackageId>InterpolatedLogging.Serilog</PackageId>
<DocumentationFile>InterpolatedLogging.Serilog.xml</DocumentationFile>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<Choose>
Expand All @@ -31,6 +33,10 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Serilog" Version="2.*" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<package >
<metadata>
<id>InterpolatedLogging.Serilog</id>
<version>2.0.3</version>
<title>InterpolatedLogging.Serilog</title>
<authors>Rick Drizin</authors>
<owners>Rick Drizin</owners>
Expand All @@ -12,7 +11,6 @@
<description>Extensions to Serilog to write Log Messages using Interpolated Strings without losing Structured Property Names</description>
<copyright>Copyright Rick Drizin 2021</copyright>
<tags>dapper;query builder</tags>
<repository type="git" url="https://github.com/Drizin/InterpolatedLogging" commit="e78d750054c321c719359a96d570453a9f27598e" />
<dependencies>
</dependencies>
</metadata>
Expand Down
8 changes: 7 additions & 1 deletion src/InterpolatedLogging/InterpolatedLogging.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,17 @@
<Description>Extensions to Logging Libraries to write Log Messages using Interpolated Strings without losing Structured Property Names</Description>
<Copyright>Rick Drizin</Copyright>
<Company>Rick Drizin</Company>
<Version>1.0.0</Version>
<Version>1.0.4</Version>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

</Project>
6 changes: 3 additions & 3 deletions src/build-release.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ if not exist packages-local mkdir packages-local

dotnet build -c release InterpolatedLogging.Microsoft.Extensions.Logging\InterpolatedLogging.Microsoft.Extensions.Logging.csproj
REM dotnet test InterpolatedLogging.Microsoft.Extensions.Logging.Tests\InterpolatedLogging.Microsoft.Extensions.Logging.Tests.csproj
dotnet pack -c release InterpolatedLogging.Microsoft.Extensions.Logging\InterpolatedLogging.Microsoft.Extensions.Logging.csproj
dotnet pack -c release InterpolatedLogging.Microsoft.Extensions.Logging\InterpolatedLogging.Microsoft.Extensions.Logging.csproj /p:ContinuousIntegrationBuild=true

dotnet build -c release InterpolatedLogging.NLog\InterpolatedLogging.NLog.csproj
REM dotnet test InterpolatedLogging.NLog.Tests\InterpolatedLogging.NLog.Tests.csproj
dotnet pack -c release InterpolatedLogging.NLog\InterpolatedLogging.NLog.csproj
dotnet pack -c release InterpolatedLogging.NLog\InterpolatedLogging.NLog.csproj /p:ContinuousIntegrationBuild=true

dotnet build -c release InterpolatedLogging.Serilog\InterpolatedLogging.Serilog.csproj
REM dotnet test InterpolatedLogging.Serilog.Tests\InterpolatedLogging.Serilog.Tests.csproj
dotnet pack -c release InterpolatedLogging.Serilog\InterpolatedLogging.Serilog.csproj
dotnet pack -c release InterpolatedLogging.Serilog\InterpolatedLogging.Serilog.csproj /p:ContinuousIntegrationBuild=true

0 comments on commit f85f25f

Please sign in to comment.