Skip to content

Commit ce97727

Browse files
committed
fixed build script to handle full releases better.
1 parent de62d01 commit ce97727

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.fsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let version = baseVersion + "." + buildNumber
1616
let semVersion =
1717
match preRelease with
1818
| "build" | "local" -> baseVersion + "-" + preRelease + "-" + buildNumber.PadLeft(4, '0')
19-
| "" -> baseVersion
19+
| "#release#" -> baseVersion
2020
| _ -> baseVersion + "-" + preRelease
2121

2222
let baseDir = currentDirectory
@@ -129,7 +129,7 @@ Target "Docs" (fun _ ->
129129

130130
let preliminary =
131131
match preRelease with
132-
| "" -> "False"
132+
| "#release#" -> "False"
133133
| _ -> "True"
134134

135135
let properties = ["Configuration", config

0 commit comments

Comments
 (0)