Skip to content

Commit

Permalink
(cake-buildGH-569) Adding initial step for HomeBrew
Browse files Browse the repository at this point in the history
  • Loading branch information
gep13 committed Dec 11, 2015
1 parent fc65afc commit b4cd4af
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,17 @@ Task("Publish-Chocolatey")
}
});

Task("Publish-HomeBrew")
.Does(() =>
{
var packageFile = File("Cake-bin-v" + semVersion + ".zip");
var packagePath = buildResultDir + packageFile;

var hash = CalculateFileHash(packagePath).ToHex();

Information("Hash for creating HomeBrew PullRequest: {0}", hash);
});

Task("Create-Release-Notes")
.Does(() =>
{
Expand Down Expand Up @@ -335,7 +346,8 @@ Task("Default")

Task("Publish")
.IsDependentOn("Publish-NuGet")
.IsDependentOn("Publish-Chocolatey");
.IsDependentOn("Publish-Chocolatey")
.IsDependentOn("Publish-HomeBrew");

Task("AppVeyor")
.IsDependentOn("Update-AppVeyor-Build-Number")
Expand Down

0 comments on commit b4cd4af

Please sign in to comment.