From fb8be53a73279cc3ea4936e77fb6ecdd5b7c4efa Mon Sep 17 00:00:00 2001 From: "deniz_irgin@yahoo.com" Date: Fri, 17 Apr 2020 14:40:56 +0300 Subject: [PATCH] update cake version --- build.ps1 | 4 ++-- build.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.ps1 b/build.ps1 index c6ce07e..dc223b7 100644 --- a/build.ps1 +++ b/build.ps1 @@ -57,7 +57,7 @@ if (!$PSScriptRoot) { $PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent } -$CAKE_VERSION = "0.33.0" +$CAKE_VERSION = "0.37.0" $TOOLS_DIR = Join-Path $PSScriptRoot "tools" $CAKE_ROOT = Join-Path $TOOLS_DIR "/cake.coreclr/" @@ -84,7 +84,7 @@ if (!(Test-Path $CAKE_EXE)) { Write-Verbose -Message "Creating tools.csproj..." try { New-Item "$TOOLS_DIR/tools.csproj" -ItemType file - "Exenetcoreapp2.2" | Out-File -FilePath "$TOOLS_DIR/tools.csproj" -Append + "Exenetcoreapp3.1" | Out-File -FilePath "$TOOLS_DIR/tools.csproj" -Append } catch { Throw "Could not download packages.config." diff --git a/build.sh b/build.sh index 0c614c0..739b42e 100644 --- a/build.sh +++ b/build.sh @@ -6,7 +6,7 @@ # Feel free to change this file to fit your needs. ########################################################################## -CAKE_VERSION=0.33.0 +CAKE_VERSION=0.37.0 # Define directories. SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) @@ -50,7 +50,7 @@ if [ ! -f "$CAKE_EXE" ]; then # Make sure that tools.csproj exist. if [ ! -f "$TOOLS_DIR/tools.csproj" ]; then echo "Creating tools.csproj..." - echo "Exenetcoreapp2.2" > $TOOLS_DIR/tools.csproj + echo "Exenetcoreapp3.1" > $TOOLS_DIR/tools.csproj if [ $? -ne 0 ]; then echo "An error occurred while creating tools.csproj." exit 1