Created
March 2, 2015 20:46
-
-
Save jonathanpeppers/f96cbcc6938f09cb05a8 to your computer and use it in GitHub Desktop.
Using BUILD_NUMBER with FAKE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Environment variables | |
let version = "1.0.0" | |
let build = environVarOrDefault "BUILD_NUMBER" "1" | |
let versionNumber = (version + "." + build) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment