Merge "Rancher 2.5 deploys an extra POD on the cluster, ignore it in the cleanup"
diff --git a/jjb/shell/tagcollisionreject.sh b/jjb/shell/tagcollisionreject.sh
index e72554b..82b4c63 100755
--- a/jjb/shell/tagcollisionreject.sh
+++ b/jjb/shell/tagcollisionreject.sh
@@ -145,7 +145,8 @@
parent_version="$MAJOR.$MINOR.$new_patch"
for existing_tag in $existing_tags
do
- if [[ "$parent_version" == "$existing_tag" ]]
+ semverParseInto $existing_tag C_MAJOR C_MINOR C_PATCH C_SPECIAL
+ if [[ "$MAJOR" == "$C_MAJOR" && "$MINOR" == "$C_MINOR" && "$new_patch" == "$C_PATCH" ]]
then
found_parent=true
fi