fix: catch that suffix comparison bug

This commit is contained in:
2021-08-09 15:05:03 +02:00
parent 8c998c0043
commit 19bcaca6e6
2 changed files with 2 additions and 1 deletions

View File

@ -144,7 +144,7 @@ func (t Tag) IsCompatible(tag Tag) bool {
return false
}
if t.Suffix != "" && tag.Suffix == "" {
if t.Suffix != "" && tag.Suffix == "" || t.Suffix == "" && tag.Suffix != "" {
return false
}