Skip to content

Commit 00c7ad2

Browse files
committed
(build) update to cake 0.36
1 parent 2b24568 commit 00c7ad2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/usr/bin/env bash
2-
CAKE_VERSION=0.35
2+
CAKE_VERSION=0.36
33
DOTNET_VERSION=2.1.802,3.1.100

build/utils/utils.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public static bool IsOnMainBranch(this ICakeContext context)
4545
}
4646
else if (buildSystem.IsRunningOnAzurePipelines || buildSystem.IsRunningOnAzurePipelinesHosted)
4747
{
48-
repositoryBranch = buildSystem.TFBuild.Environment.Repository.Branch;
48+
repositoryBranch = buildSystem.TFBuild.Environment.Repository.SourceBranchName;
4949
}
5050

5151
context.Information("Repository Branch: {0}" , repositoryBranch);

0 commit comments

Comments
 (0)