We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b24568 commit 00c7ad2Copy full SHA for 00c7ad2
build.config
@@ -1,3 +1,3 @@
1
#!/usr/bin/env bash
2
-CAKE_VERSION=0.35
+CAKE_VERSION=0.36
3
DOTNET_VERSION=2.1.802,3.1.100
build/utils/utils.cake
@@ -45,7 +45,7 @@ public static bool IsOnMainBranch(this ICakeContext context)
45
}
46
else if (buildSystem.IsRunningOnAzurePipelines || buildSystem.IsRunningOnAzurePipelinesHosted)
47
{
48
- repositoryBranch = buildSystem.TFBuild.Environment.Repository.Branch;
+ repositoryBranch = buildSystem.TFBuild.Environment.Repository.SourceBranchName;
49
50
51
context.Information("Repository Branch: {0}" , repositoryBranch);
0 commit comments