Skip to content

Commit

Permalink
(build) Running into issue with Cake.Git
Browse files Browse the repository at this point in the history
cake-contrib/Cake_Git#77

Since there are only new/deleted files in this commit, need to ignore
this check for now, and add it back in afterwards.
  • Loading branch information
gep13 committed Jan 3, 2022
1 parent 90c096f commit fc026a7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ Task("Publish-Documentation")
Information("Stage all changes...");
GitAddAll(publishFolder);

if (GitHasStagedChanges(publishFolder))
{
//if (GitHasStagedChanges(publishFolder))
//{
Information("Commit all changes...");
GitCommit(
publishFolder,
Expand All @@ -186,11 +186,11 @@ Task("Publish-Documentation")
Information("Pushing with token...");
GitPush(publishFolder, buildData.GitHubToken, "x-oauth-basic", buildData.DeployBranch);
}
}
else
{
Information("There are no changes that need to be committed");
}
//}
//else
//{
// Information("There are no changes that need to be committed");
//}
}
else
{
Expand Down

0 comments on commit fc026a7

Please sign in to comment.