Skip to content

Commit a93fc89

Browse files
committed
revert gitlink changes, need it for nuget package
1 parent d6569c3 commit a93fc89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/scripts/Building.fsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ open Tooling;
1111

1212
type Build() =
1313

14-
static let runningRelease = getBuildParam "target" = "release"
14+
static let runningRelease = hasBuildParam "version" || hasBuildParam "apikey" || getBuildParam "target" = "canary" || getBuildParam "target" = "release"
1515

1616
static let compileCore() =
1717
DotNetProject.AllPublishable
@@ -42,7 +42,7 @@ type Build() =
4242
| Some c -> Seq.append ["-s"; c]
4343
| None -> Seq.append Seq.empty
4444
|> Seq.append ["."; "-u"; Paths.Repository; "-d"; (Paths.ProjectOutputFolder p framework); "-include"; projectName]
45-
GitLink.Exec args
45+
GitLink.Exec ["."; "-u"; Paths.Repository; "-d"; (Paths.ProjectOutputFolder p framework); "-include"; projectName]
4646
|> ignore
4747
link DotNetFramework.Net45
4848
link DotNetFramework.Net46

0 commit comments

Comments
 (0)