Skip to content

Commit

Permalink
Update the build script to work on the release branch
Browse files Browse the repository at this point in the history
  • Loading branch information
rprouse committed Jan 10, 2017
1 parent db40f5f commit 1f0aab2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.cake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#tool nuget:?package=NUnit.ConsoleRunner&version=3.4.1
#tool nuget:?package=NUnit.ConsoleRunner&version=3.5.0

//////////////////////////////////////////////////////////////////////
// PROJECT-SPECIFIC
Expand Down Expand Up @@ -49,6 +49,8 @@ if (BuildSystem.IsRunningOnAppVeyor)

if (isPullRequest)
suffix += "-pr-" + AppVeyor.Environment.PullRequest.Number;
else if (AppVeyor.Environment.Repository.Branch.StartsWith("release", StringComparison.OrdinalIgnoreCase))
suffix += "-pre-" + buildNumber;
else
suffix += "-" + branch;

Expand Down

0 comments on commit 1f0aab2

Please sign in to comment.