mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
OP-7134 - added missing OPENPYPE_VERSION
This commit is contained in:
parent
bcb9ee12aa
commit
32ce067132
1 changed files with 7 additions and 1 deletions
|
|
@ -13,7 +13,8 @@ from openpype.pipeline.publish import (
|
|||
)
|
||||
from openpype.lib import (
|
||||
BoolDef,
|
||||
NumberDef
|
||||
NumberDef,
|
||||
is_running_from_build
|
||||
)
|
||||
|
||||
|
||||
|
|
@ -230,6 +231,11 @@ class FusionSubmitDeadline(
|
|||
"OPENPYPE_LOG_NO_COLORS",
|
||||
"IS_TEST"
|
||||
]
|
||||
|
||||
# Add OpenPype version if we are running from build.
|
||||
if is_running_from_build():
|
||||
keys.append("OPENPYPE_VERSION")
|
||||
|
||||
environment = dict({key: os.environ[key] for key in keys
|
||||
if key in os.environ}, **legacy_io.Session)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue