This repository was archived by the owner on Oct 31, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ if (!$PSScriptRoot) {
5757 $PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path - Parent
5858}
5959
60- $CAKE_VERSION = " 0.33 .0"
60+ $CAKE_VERSION = " 0.37 .0"
6161
6262$TOOLS_DIR = Join-Path $PSScriptRoot " tools"
6363$CAKE_ROOT = Join-Path $TOOLS_DIR " /cake.coreclr/"
@@ -84,7 +84,7 @@ if (!(Test-Path $CAKE_EXE)) {
8484 Write-Verbose - Message " Creating tools.csproj..."
8585 try {
8686 New-Item " $TOOLS_DIR /tools.csproj" - ItemType file
87- " <Project Sdk="" Microsoft.NET.Sdk"" ><PropertyGroup><OutputType>Exe</OutputType><TargetFramework>netcoreapp2.2 </TargetFramework></PropertyGroup></Project>" | Out-File - FilePath " $TOOLS_DIR /tools.csproj" - Append
87+ " <Project Sdk="" Microsoft.NET.Sdk"" ><PropertyGroup><OutputType>Exe</OutputType><TargetFramework>netcoreapp3.1 </TargetFramework></PropertyGroup></Project>" | Out-File - FilePath " $TOOLS_DIR /tools.csproj" - Append
8888 }
8989 catch {
9090 Throw " Could not download packages.config."
Original file line number Diff line number Diff line change 66# Feel free to change this file to fit your needs.
77# #########################################################################
88
9- CAKE_VERSION=0.33 .0
9+ CAKE_VERSION=0.37 .0
1010
1111# Define directories.
1212SCRIPT_DIR=$( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd )
@@ -50,7 +50,7 @@ if [ ! -f "$CAKE_EXE" ]; then
5050 # Make sure that tools.csproj exist.
5151 if [ ! -f " $TOOLS_DIR /tools.csproj" ]; then
5252 echo " Creating tools.csproj..."
53- echo " <Project Sdk=\" Microsoft.NET.Sdk\" ><PropertyGroup><OutputType>Exe</OutputType><TargetFramework>netcoreapp2.2 </TargetFramework></PropertyGroup></Project>" > $TOOLS_DIR /tools.csproj
53+ echo " <Project Sdk=\" Microsoft.NET.Sdk\" ><PropertyGroup><OutputType>Exe</OutputType><TargetFramework>netcoreapp3.1 </TargetFramework></PropertyGroup></Project>" > $TOOLS_DIR /tools.csproj
5454 if [ $? -ne 0 ]; then
5555 echo " An error occurred while creating tools.csproj."
5656 exit 1
You can’t perform that action at this time.
0 commit comments