Koji hub policy: Fix incorrect conditoin for branched

This commit is contained in:
Mikolaj Izdebski 2019-02-20 21:18:32 +01:00
parent 71b8c9b720
commit c48825f406

View file

@ -144,7 +144,7 @@ package_list =
# Rawhide and epel7: adding, unblocking and blocking is allowed.
tag f{{FedoraRawhideNumber}} epel7 && match action add unblock block :: allow
# In branched blocking is allowed only before final freeze.
tag f{{FedoraBranchedNumber}} && match action add unblock {{ 'block' if not Frozen or FedoraBranchedBodhi }} :: allow
tag f{{FedoraBranchedNumber}} && match action add unblock {{ 'block' if not Frozen or FedoraBranchedBodhi != 'postbeta' }} :: allow
# Stable releases: only adding and unblocking is allowed.
tag f{{FedoraCycleNumber}} f{{FedoraPreviousCycleNumber}} && match action add unblock :: allow
}