Skip to content

Commit

Permalink
Update cake version to 4
Browse files Browse the repository at this point in the history
  • Loading branch information
Mastergammler committed Mar 17, 2024
1 parent fdf1727 commit eb82b9e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/Build.Common/Build.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<ItemGroup>
<PackageReference Include="Cake.Common" Version="$(CakeVersion)" />
<PackageReference Include="Cake.Core" Version="$(CakeVersion)" />
<PackageReference Include="Cake.SemVer" Version="4.0.0" />
<PackageReference Include="Cake.SemVer" Version="$(CakeVersion)" />
</ItemGroup>

</Project>
3 changes: 1 addition & 2 deletions build/Build/Tasks/PublishApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ public override void Run(Context context)
Runtime = "win-x64",
OutputDirectory = context.General.ArtifactsDir,
VersionSuffix = versionSuffix,
//TODO: adjust for multiple outputs
Framework = "net7.0"
Framework = "netstandard2.0"
};

context.DotNetPublish(context.App.MainProject, dotNetCorePublishSettings);
Expand Down
2 changes: 1 addition & 1 deletion build/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup>
<CakeVersion>3.0.0</CakeVersion>
<CakeVersion>4.0.0</CakeVersion>
</PropertyGroup>
</Project>

0 comments on commit eb82b9e

Please sign in to comment.