Skip to content

Commit

Permalink
Sets the AppVeyor build number from Cake
Browse files Browse the repository at this point in the history
  • Loading branch information
ecampidoglio committed Jan 8, 2017
1 parent e706342 commit d349490
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: 1.0.0-build.{build}
environment:
Configuration: Release
PackageOutputDirectory: Packages
Expand Down
3 changes: 2 additions & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ Task("Set-Build-Version")
.IsDependentOn("Version")
.Does(() =>
{
AppVeyor.UpdateBuildVersion(packageVersion);
AppVeyor.UpdateBuildVersion(
$"{packageVersion}+{BuildSystem.AppVeyor.Environment.Build.Number}");
});

Task("Test")
Expand Down

0 comments on commit d349490

Please sign in to comment.