Skip to content
This repository was archived by the owner on Oct 31, 2025. It is now read-only.

Commit fb8be53

Browse files
committed
update cake version
1 parent 763c4d5 commit fb8be53

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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."

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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.
1212
SCRIPT_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

0 commit comments

Comments
 (0)