Hello,
We have some scripts peeking into .git/ to look for the current revision - it worked yesterday, but today it doesn't.
Did you change something?
Our script:
https://github.com/fdorg/flashdevelop/blob/master/External/Tools/SetVersion/Program.cs

#1 Posted by Feodor Fitsner Support staff on 16 Oct, 2013 04:59 PM
An updated Build Agent was deployed yesterday, but nothing breaking - just a fix for calling batch deployment script.
What's wrong with Git though?
#2 Posted by philippe.elsass on 16 Oct, 2013 05:14 PM
We are reading files inside .git/ to determine the branch and commit number
and it worked until yesterday.
I'll try to figure what changed...
#3 Posted by Feodor Fitsner Support staff on 16 Oct, 2013 05:17 PM
Yeah, that strange. A regular git executable is used on build servers to fetch sources and it wasn't updated...
Hey, right now %commitid% could be found in environment variables when calling build script. I could add branch too.
#4 Posted by philippe.elsass on 16 Oct, 2013 05:22 PM
Were not using git for peeking into .git, but env variables are fine!
Thanks and sorry for the troubles.
#5 Posted by Feodor Fitsner Support staff on 16 Oct, 2013 05:23 PM
Cool, I will add a new TODO item for branch env var.
Feodor Fitsner closed this discussion on 16 Oct, 2013 05:23 PM.