Skip to content

Commit

Permalink
Skip script version increment
Browse files Browse the repository at this point in the history
  • Loading branch information
tokejepsen committed May 2, 2024
1 parent a3c2bb1 commit e5fbb20
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ class IncrementScriptVersion(pyblish.api.ContextPlugin):
hosts = ['nuke']

def process(self, context):
if context.data.get("headless_farm", False):
return

assert all(result["success"] for result in context.data["results"]), (
"Publishing not successful so version is not increased.")
Expand Down

0 comments on commit e5fbb20

Please sign in to comment.