Skip to content

Commit

Permalink
Fix order
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Apr 11, 2017
1 parent 110cf8d commit c80a4c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#### 4.58.2 - 11.04.2017
#### 4.58.3 - 11.04.2017
* Added installer for dotnet SDK

#### 4.58.0 - 09.04.2017
Expand Down
4 changes: 3 additions & 1 deletion src/app/FakeLib/DotNetCLIHelper.fs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module Fake.DotNetCli
open Fake
open System
open System.IO
open System.IO.Compression
open System.Text
open Newtonsoft.Json.Linq

Expand Down Expand Up @@ -467,6 +468,7 @@ let SetVersionInProjectJson (version:string) fileName =

let mutable DotnetSDKPath = System.Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) </> "dotnetcore" |> FullName


/// Installs the DotNet SDK locally to the given path
let InstallDotNetSDK sdkVersion =
let buildLocalPath = DotnetSDKPath </> (if isWindows then "dotnet.exe" else "dotnet")
Expand Down Expand Up @@ -507,7 +509,7 @@ let InstallDotNetSDK sdkVersion =
webclient.DownloadFile(downloadPath, localPath)

if isWindows then
Unzip localPath DotnetSDKPath
Unzip DotnetSDKPath localPath
else
let assertExitCodeZero x =
if x = 0 then () else
Expand Down

0 comments on commit c80a4c6

Please sign in to comment.