Skip to content

Commit

Permalink
Adding BUILD_NUMBER support so we can build via team city
Browse files Browse the repository at this point in the history
  • Loading branch information
ayende committed Jul 31, 2011
1 parent e9a6a66 commit cecd5b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions default.ps1
Expand Up @@ -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"
Expand Down

0 comments on commit cecd5b3

Please sign in to comment.