Skip to content

Commit

Permalink
fixing build script to be able to build a release build.
Browse files Browse the repository at this point in the history
  • Loading branch information
craiggwilson committed Jan 29, 2015
1 parent a3f51ab commit 2df664a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ open Fake.AssemblyInfoFile

let config = getBuildParamOrDefault "config" "Release"
let baseVersion = getBuildParamOrDefault "baseVersion" "1.10.0"
let preRelease = getBuildParamOrDefault "preRelease" "local"
let preRelease = getBuildParamOrDefault "preRelease" ""
let getComputedBuildNumber() =
let result = Git.CommandHelper.runSimpleGitCommand currentDirectory "describe HEAD^1 --tags --long --match \"v[0-9].[0-9].[0-9]*\""
let m = System.Text.RegularExpressions.Regex.Match(result, @"-(\d+)-")
Expand Down

0 comments on commit 2df664a

Please sign in to comment.