We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e675c75 commit e744bd9Copy full SHA for e744bd9
gitutils.go
@@ -75,7 +75,7 @@ func isCommitToNearestTag(repo *git.Repository, commit *object.Commit) bool {
75
log.Fatal("Couldn't get latest tag...", err)
76
}
77
78
- if latestTag != nil {
+ if latestTag != nil && previousTag != nil {
79
if tillLatest {
80
return latestTag.Hash().String() == commit.Hash.String()
81
0 commit comments