Skip to content

Commit 718b220

Browse files
committed
Fixed bumping tag version
1 parent 5ee62f0 commit 718b220

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

GitVersionCore/LibGitExtensions.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,10 @@ public static Branch FindBranch(this IRepository repository, string branchName)
2727
public static SemanticVersion LastVersionTagOnBranch(this Branch branch, IRepository repository, string tagPrefixRegex)
2828
{
2929
var tags = repository.Tags.Select(t => t).ToList();
30-
var until = FindCommitBranchWasBranchedFrom(branch, repository);
3130

3231
return repository.Commits.QueryBy(new CommitFilter
3332
{
34-
Since = branch.Tip,
35-
Until = until
33+
Since = branch.Tip
3634
})
3735
.SelectMany(c => tags.Where(t => c.Sha == t.Target.Sha).SelectMany(t =>
3836
{

0 commit comments

Comments
 (0)