diff --git a/scripts/get_env.py b/scripts/get_env.py index bc59e3a58b..81f29b2059 100755 --- a/scripts/get_env.py +++ b/scripts/get_env.py @@ -60,10 +60,7 @@ def get_details(event, args): data["commit_sha"] = data["commit_hash"][:8] data["branch_name"] = re.sub("refs/\w+/", "", ref) data["suffix"] = ( - "mntm-" + - data["branch_name"].replace("/", "_") - + "-" - + data["commit_sha"] + "mntm-" + data["branch_name"].replace("/", "_") + "-" + data["commit_sha"] ) if ref.startswith("refs/tags/"): data["suffix"] = data["branch_name"].replace("/", "_")