Skip to content

Commit edd8d8b

Browse files
committed
More logging for the issue
1 parent 3e90fd7 commit edd8d8b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: build/Build/Lifetime.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ public override void Teardown(Context context, ITeardownContext info) =>
3838

3939
private void SetBranchInContext(Context context)
4040
{
41-
string branchName = context.GitVersion(new GitVersionSettings { NoFetch = true }).BranchName.ToLower();
41+
GitVersion gitVersion = context.GitVersion(new GitVersionSettings { NoFetch = true });
42+
context.Information($"Branch name raw: {gitVersion.BranchName} - Commit date {gitVersion.CommitDate}");
43+
string branchName = gitVersion.BranchName.ToLower();
4244
context.General.CurrentBranchName = branchName;
4345
context.General.CurrentBranch = new BranchService().GetBranch(branchName);
4446
}

0 commit comments

Comments
 (0)