Browse files

Adding BUILD_NUMBER support so we can build via team city

  • Loading branch information...
1 parent e9a6a66 commit cecd5b3d97af193a63b0b76628228553dd064e6b @ayende ayende committed Jul 31, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 default.ps1
View
4 default.ps1
@@ -49,6 +49,10 @@ task Clean {
}
task Init -depends Verify40, Clean {
+
+ if($env:BUILD_NUMBER -ne $null) {
+ $env:buildlabel = $env:BUILD_NUMBER
+ }
if($env:buildlabel -eq $null) {
$env:buildlabel = "13"

0 comments on commit cecd5b3

Please sign in to comment.