Skip to content

Commit 472ddde

Browse files
committed
Add TryConfigureCredentials call to TryDeleteRemoteBranch
1 parent e1d8a95 commit 472ddde

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/PostSharp.Engineering.BuildTools/Utilities/GitHelper.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,11 @@ public static bool TryPush( BuildContext context )
484484

485485
public static bool TryDeleteRemoteBranch( BuildContext context, string branchName )
486486
{
487+
if ( !TryConfigureCredentials( context ) )
488+
{
489+
return false;
490+
}
491+
487492
if ( !TryGetOriginUrl( context, out var originUrl ) )
488493
{
489494
return false;

0 commit comments

Comments
 (0)