Skip to content

Commit b999117

Browse files
committed
Attempt to fix bump.
1 parent 8fc241e commit b999117

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/PostSharp.Engineering.BuildTools/Build/Bumping/BumpCommand.cs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -108,15 +108,10 @@ private static bool Execute( BuildContext context, BumpSettings settings )
108108

109109
return true;
110110
}
111-
112-
if ( !AutoUpdatedVersionsFile.TryRead( context, out _, out var currentVersion ) )
113-
{
114-
return false;
115-
}
116-
111+
117112
// Doing a dry run of AutoUpdatedVersionsFile both gets the versions of all dependencies and gets the current version.
118113
// Do not write the AutoUpdatedVersions.props file yet - we will do it after we set our own version.
119-
if ( !AutoUpdatedVersionsFile.TryWrite( context, true, out var hasChangesInDependencies, out _, out _, out var currentOrInheritedVersion ) )
114+
if ( !AutoUpdatedVersionsFile.TryWrite( context, true, out var hasChangesInDependencies, out _, out _, out var currentVersion ) )
120115
{
121116
return false;
122117
}

0 commit comments

Comments
 (0)