Skip to content

Commit 943fc4c

Browse files
committed
Integrate code review remarks
1 parent bcaa174 commit 943fc4c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/GitVersion.Core/VersionCalculation/TrunkBased/NonTrunk/FirstCommitOnRelease.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
namespace GitVersion.VersionCalculation.TrunkBased.NonTrunk;
44

5+
/// <summary>
6+
/// This incrementer identifies the first commit on a branch marked with IsReleaseBranch true and appends the version number for
7+
/// instance 1.0.0 (extracted from the branch name) as an alternative semantic version to the context. This information will be
8+
/// used later to bump the version number to a higher value if necessary.
9+
/// </summary>
510
internal sealed class FirstCommitOnRelease : ITrunkBasedIncrementer
611
{
712
// B 57 minutes ago (HEAD -> release/1.0.0)

0 commit comments

Comments
 (0)