Skip to content

Commit

Permalink
(GH-513) Don't hardcode develop branch name
Browse files Browse the repository at this point in the history
Instead, use the parameter that can be passed in my parent project.
  • Loading branch information
gep13 committed Jul 8, 2020
1 parent 1041474 commit 1d7a5aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cake.Recipe/Content/parameters.cake
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ public static class BuildParameters
WyamSourceFiles = wyamSourceFiles ?? "../../" + SourceDirectoryPath.FullPath + "/**/{!bin,!obj,!packages,!*.Tests,}/**/*.cs";
WebHost = webHost ?? string.Format("{0}.github.io", repositoryOwner);
WebLinkRoot = webLinkRoot ?? title;
WebBaseEditUrl = webBaseEditUrl ?? string.Format("https://github.com/{0}/{1}/tree/develop/docs/input/", repositoryOwner, title);
WebBaseEditUrl = webBaseEditUrl ?? string.Format("https://github.com/{0}/{1}/tree/{2}/docs/input/", repositoryOwner, title, developBranchName);

ShouldPostToGitter = shouldPostToGitter;
ShouldPostToSlack = shouldPostToSlack;
Expand Down

0 comments on commit 1d7a5aa

Please sign in to comment.