Skip to content

Commit d7634c1

Browse files
committed
Merge pull request #236 from forki/master
Use FAKE 2.2 for build
2 parents 0d5db99 + 6949f9a commit d7634c1

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

build.cmd

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
11
@echo off
22

3-
SET MinimalFAKEVersion=639
4-
SET FAKEVersion=1
5-
cls
6-
7-
if exist tools\FAKE.Core\tools\PatchVersion.txt (
8-
FOR /F "tokens=*" %%i in (tools\FAKE.Core\tools\PatchVersion.txt) DO (SET FAKEVersion=%%i)
9-
)
10-
11-
if %MinimalFAKEVersion% lss %FAKEVersion% goto Build
12-
if %MinimalFAKEVersion%==%FAKEVersion% goto Build
13-
14-
"tools\nuget\nuget.exe" "install" "FAKE.Core" "-OutputDirectory" "tools" "-ExcludeVersion" "-Prerelease"
3+
"tools\nuget\nuget.exe" "install" "FAKE.Core" "-OutputDirectory" "tools" "-ExcludeVersion" "-version" "2.2.0"
154

165
:Build
176
cls

script/cibuild.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ if (Test-Path tools\FAKE.Core\tools\Fake.exe) {
7676
else {
7777
Write-Output "Installing FAKE..."
7878
Write-Output ""
79-
.\tools\nuget\nuget.exe "install" "FAKE.Core" "-OutputDirectory" "tools" "-ExcludeVersion" "-Prerelease"
79+
.\tools\nuget\nuget.exe "install" "FAKE.Core" "-OutputDirectory" "tools" "-ExcludeVersion" "-Version" "2.2.0"
8080
}
8181

8282
Write-Output "Building Octokit..."

0 commit comments

Comments
 (0)