fix
This commit is contained in:
@@ -133,10 +133,11 @@ def append_stage(to, key, val, files):
|
||||
"""Append a value in {to}[{key}], create the array if not existing. if the key-file is found in the files add a custom suffix"""
|
||||
if not key in to:
|
||||
to[key] = []
|
||||
if "{basename}.yaml".format(basename=val) in files:
|
||||
to[key].append("{stage}-custom".format(stage=val))
|
||||
else:
|
||||
to[key].append(val)
|
||||
# Not possible right now
|
||||
#if "{basename}.yaml".format(basename=val) in files:
|
||||
# to[key].append("{stage}-custom".format(stage=val))
|
||||
#else:
|
||||
to[key].append(val)
|
||||
|
||||
|
||||
def set_js_stages(stages, config, files, root_dir):
|
||||
|
||||
Reference in New Issue
Block a user