File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ module Commandline =
87
87
setBuildParam " clusterfilter" clusterFilter
88
88
setBuildParam " testfilter" testFilter
89
89
90
+ | [ " canary" ; ] -> ignore()
90
91
| [ " canary" ; apiKey ] ->
91
92
setBuildParam " apiKey" apiKey
92
93
setBuildParam " feed" " elasticsearch-net"
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ open Benchmarking
26
26
open XmlDocPatcher
27
27
open Documentation
28
28
open Signing
29
-
30
29
open Commandline
30
+
31
31
Commandline.parse()
32
32
33
33
Target " Build" <| fun _ -> traceHeader " STARTING BUILD"
Original file line number Diff line number Diff line change 6
6
7
7
#load @" Projects.fsx"
8
8
#load @" Paths.fsx"
9
+ #load @" Commandline.fsx"
9
10
10
11
open System
11
12
open System.Diagnostics
@@ -20,6 +21,7 @@ open SemVerHelper
20
21
open Paths
21
22
open Projects
22
23
open SemVerHelper
24
+ open Commandline
23
25
24
26
module Versioning =
25
27
// We used to rely on AssemblyInfo.cs from NEST to read and write the current version.
@@ -35,7 +37,8 @@ module Versioning =
35
37
newGlobalJson.JsonValue.WriteTo( tw, JsonSaveOptions.None)
36
38
tracefn " Written (%s ) to global.json as the current version will use this version from now on as current in the build" ( version.ToString())
37
39
38
- let CurrentVersion =
40
+ let CurrentVersion =
41
+ Commandline.parse()
39
42
let currentVersion = parse( globalJson.Version)
40
43
let bv = getBuildParam " version"
41
44
let buildVersion = if ( isNullOrEmpty bv) then None else Some( parse( bv))
You can’t perform that action at this time.
0 commit comments