feat: ✨ use time.Time.Before() instead of Sub()
This commit is contained in:
parent
6c787535a8
commit
66de41874d
@ -99,7 +99,7 @@ func getLatestGitTag(options ...GetLatestGitTagOption) (string, error) {
|
||||
return "", fmt.Errorf("error iterating tags %w", err)
|
||||
}
|
||||
|
||||
if tagDate != nil && t.Tagger.When.Sub(*tagDate) > 0 {
|
||||
if tagDate != nil && t.Tagger.When.Before(*tagDate) {
|
||||
continue
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user