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 =
8787 setBuildParam " clusterfilter" clusterFilter
8888 setBuildParam " testfilter" testFilter
8989
90+ | [ " canary" ; ] -> ignore()
9091 | [ " canary" ; apiKey ] ->
9192 setBuildParam " apiKey" apiKey
9293 setBuildParam " feed" " elasticsearch-net"
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ open Benchmarking
2626open XmlDocPatcher
2727open Documentation
2828open Signing
29-
3029open Commandline
30+
3131Commandline.parse()
3232
3333Target " Build" <| fun _ -> traceHeader " STARTING BUILD"
Original file line number Diff line number Diff line change 66
77#load @" Projects.fsx"
88#load @" Paths.fsx"
9+ #load @" Commandline.fsx"
910
1011open System
1112open System.Diagnostics
@@ -20,6 +21,7 @@ open SemVerHelper
2021open Paths
2122open Projects
2223open SemVerHelper
24+ open Commandline
2325
2426module Versioning =
2527 // We used to rely on AssemblyInfo.cs from NEST to read and write the current version.
@@ -35,7 +37,8 @@ module Versioning =
3537 newGlobalJson.JsonValue.WriteTo( tw, JsonSaveOptions.None)
3638 tracefn " Written (%s ) to global.json as the current version will use this version from now on as current in the build" ( version.ToString())
3739
38- let CurrentVersion =
40+ let CurrentVersion =
41+ Commandline.parse()
3942 let currentVersion = parse( globalJson.Version)
4043 let bv = getBuildParam " version"
4144 let buildVersion = if ( isNullOrEmpty bv) then None else Some( parse( bv))
You can’t perform that action at this time.
0 commit comments