Skip to content

Commit

Permalink
updated cake project
Browse files Browse the repository at this point in the history
  • Loading branch information
Insire committed Dec 11, 2023
1 parent 3333d45 commit 419db70
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 15 deletions.
13 changes: 6 additions & 7 deletions cake/Build.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net70</TargetFramework>
<TargetFramework>net80</TargetFramework>
<PackAsTool>true</PackAsTool>

<!-- Make sure start same folder .NET Core CLI and Visual Studio -->
Expand All @@ -11,16 +10,16 @@

<ItemGroup>
<PackageReference Include="Cake.Codecov" Version="1.0.1" />
<PackageReference Include="Cake.Frosting" Version="3.0.0" />
<PackageReference Include="Cake.GitVersioning" Version="3.5.119" />
<PackageReference Include="Cake.Frosting" Version="4.0.0" />
<PackageReference Include="Cake.GitVersioning" Version="3.6.133" />
<PackageReference Include="Cake.Incubator" Version="8.0.0" />
<PackageReference Include="Codecov" Version="1.13.0" />
<PackageReference Include="GitVersion.CommandLine" Version="5.12.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.CodeCoverage" Version="17.4.1" />
<PackageReference Include="NUnit.ConsoleRunner" Version="3.16.2" />
<PackageReference Include="ReportGenerator" Version="5.1.17" />
<PackageReference Include="Microsoft.CodeCoverage" Version="17.8.0" />
<PackageReference Include="NUnit.ConsoleRunner" Version="3.16.3" />
<PackageReference Include="ReportGenerator" Version="5.2.0" />
</ItemGroup>
</Project>
8 changes: 4 additions & 4 deletions cake/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ public static int Main(string[] args)
{
return new CakeHost()
.InstallTool(new Uri("nuget:?package=Codecov&version=1.13.0"))
.InstallTool(new Uri("nuget:?package=NUnit.ConsoleRunner&version=3.16.2"))
.InstallTool(new Uri("nuget:?package=ReportGenerator&version=5.1.17"))
.InstallTool(new Uri("nuget:?package=NUnit.ConsoleRunner&version=3.16.3"))
.InstallTool(new Uri("nuget:?package=ReportGenerator&version=5.2.0"))
.InstallTool(new Uri("nuget:?package=GitVersion.CommandLine&version=5.12.0"))
.InstallTool(new Uri("nuget:?package=Microsoft.CodeCoverage&version=17.4.1"))
.InstallTool(new Uri("nuget:?package=nuget.commandline&version=6.4.0"))
.InstallTool(new Uri("nuget:?package=Microsoft.CodeCoverage&version=17.8.0"))
.InstallTool(new Uri("nuget:?package=nuget.commandline&version=6.8.0"))
.UseContext<BuildContext>()
.UseLifetime<BuildLifetime>()
.UseWorkingDirectory("..")
Expand Down
1 change: 0 additions & 1 deletion cake/Tasks/PushLocally.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public override void Run(BuildContext context)
context.NuGetPush(package, new Cake.Common.Tools.NuGet.Push.NuGetPushSettings()
{
Source = LocalNugetFolder,
SkipDuplicate = true,
});
}
}
Expand Down
6 changes: 3 additions & 3 deletions src/SharedAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

// Metadata Attributes
[assembly: AssemblyMetadata("Platform", "AnyCPU")]
[assembly: AssemblyMetadata("CompileDate", "[UTC]11.12.2023 18:45:51")]
[assembly: AssemblyMetadata("CompileDate", "[UTC]11.12.2023 18:57:07")]
[assembly: AssemblyMetadata("PublicRelease", "False")]
[assembly: AssemblyMetadata("Branch", "master")]
[assembly: AssemblyMetadata("Commit", "e18e7b1bdbec109b5c877b6dfa8b4838b96b85db")]
[assembly: AssemblyMetadata("Version", "3.0.91")]
[assembly: AssemblyMetadata("Commit", "4fec16fade51403d923274dc22def24b4b99c5d0")]
[assembly: AssemblyMetadata("Version", "3.0.93")]

0 comments on commit 419db70

Please sign in to comment.