Permalink
Browse files

Hardcoding version - since GitVersion does not do what I want

  • Loading branch information...
einari committed May 4, 2017
1 parent bed97df commit 322aca52098c4d7866764b7389963667c5c8feca
Showing with 2 additions and 1 deletion.
  1. +2 −1 build.fsx
View
@@ -219,7 +219,8 @@ let currentBranch = getCurrentBranch
let envBuildNumber = System.Environment.GetEnvironmentVariable("APPVEYOR_BUILD_NUMBER")
let buildNumber = if String.IsNullOrWhiteSpace(envBuildNumber) then 0 else envBuildNumber |> int
let versionFromGitTag = getVersionFromGitTag buildNumber
let versionFromGitTag = BuildVersion(1, 2, 1, 0, "alpha", false)
// getVersionFromGitTag buildNumber
let lastNuGetVersion = getLatestNuGetVersion
let sameVersion = versionFromGitTag.DoesMajorMinorPatchMatch lastNuGetVersion
// Determine if it is a release build - check if the latest NuGet deployment is a release build matching version number or not.

0 comments on commit 322aca5

Please sign in to comment.