Created
April 1, 2015 20:32
-
-
Save jonathanpeppers/ee60409b397ecae801d2 to your computer and use it in GitHub Desktop.
Unity3D / TeamCity / FAKE environment variables
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) | |
setEnvironVar "VERSION_NUMBER" versionNumber |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment