diff --git a/roles/koji_hub/templates/prune-signed-copies-protected-tags.j2 b/roles/koji_hub/templates/prune-signed-copies-protected-tags.j2 index a9aba77012..ad44e3a00f 100644 --- a/roles/koji_hub/templates/prune-signed-copies-protected-tags.j2 +++ b/roles/koji_hub/templates/prune-signed-copies-protected-tags.j2 @@ -1,6 +1,6 @@ f{{ FedoraRawhideNumber }}-infra f{{ FedoraRawhideNumber }}-infra-stg -{% if FedoraBranchedBodhi is defined %} +{% if FedoraBranched is true %} f{{ FedoraBranchedNumber}}-infra f{{ FedoraBranchedNumber}}-infra-stg {% endif %} @@ -8,7 +8,7 @@ f{{ FedoraCycleNumber }}-infra f{{ FedoraCycleNumber }}-infra-stg f{{ FedoraPreviousCycleNumber }}-infra f{{ FedoraPreviousCycleNumber }}-infra-stg -{% if FedoraPreviousPrevious is defined %} +{% if FedoraPreviousPrevious is true %} f{{ FedoraPreviousPreviousCycleNumber }}-infra f{{ FedoraPreviousPreviousCycleNumber }}-infra-stg {% endif %}