Skip to content

Commit 48ef902

Browse files
authored
Remove assumption of current branch name in code comment
1 parent f76724d commit 48ef902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NerdBank.GitVersioning/ReleaseManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ public void PrepareRelease(string projectDirectory, string releaseUnstableTag =
278278

279279
var nextDevVersion = this.GetNextDevVersion(versionOptions, nextVersion, versionIncrement);
280280

281-
// check if the current version on the main branch is different from the next version
281+
// check if the current version on the current branch is different from the next version
282282
// otherwise, both the release branch and the dev branch would have the same version
283283
if (versionOptions.Version.Version == nextDevVersion.Version)
284284
{

0 commit comments

Comments
 (0)