Skip to content

Commit 05ffbe4

Browse files
committed
Version bump for NuGet release
1 parent eb18c5d commit 05ffbe4

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

build.fsx

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ let nUnitPath = "packages" @@ "nunit.consolerunner" @@ "tools" @@ "nunit3-consol
3333
let sha = Git.Information.getCurrentHash()
3434

3535
// version info
36-
let major = "1"
37-
let minor = "0"
38-
let mutable build = buildVersion
36+
let major = "2"
37+
let minor = "1"
38+
let mutable patch = "1"
3939
let mutable asmVersion = ""
4040
let mutable asmFileVersion = ""
4141

@@ -46,12 +46,9 @@ Target "Clean" (fun _ ->
4646
)
4747

4848
Target "BuildVersions" (fun _ ->
49-
if isLocalBuild then
50-
build <- "0"
51-
5249
// Follow SemVer scheme: http://semver.org/
53-
asmVersion <- major + "." + minor + "." + build
54-
asmFileVersion <- major + "." + minor + "." + build + "+" + sha
50+
asmVersion <- major + "." + minor + "." + patch
51+
asmFileVersion <- major + "." + minor + "." + patch + "+" + sha
5552

5653
SetBuildNumber asmFileVersion
5754
)

0 commit comments

Comments
 (0)