farm: remove publish_on_farm from representations to metadata.json

This commit is contained in:
Jakub Jezek 2023-11-21 17:32:37 +01:00
parent e0b4cef87e
commit e0776c8548
No known key found for this signature in database
GPG key ID: 730D7C02726179A7

View file

@ -145,6 +145,9 @@ def get_transferable_representations(instance):
trans_rep = representation.copy()
# remove publish_on_farm from representations tags
trans_rep["tags"].remove("publish_on_farm")
staging_dir = trans_rep.get("stagingDir")
if staging_dir: