Compact updating config into one call
This commit is contained in:
parent
1ce4bd9c55
commit
c58ddf70da
1 changed files with 4 additions and 4 deletions
|
@ -34,10 +34,10 @@ class MyBuild(ReleaseMixin):
|
|||
def initialize(project, CONFIG_FILE):
|
||||
project.build_depends_on('ddadevops>=3.1.2')
|
||||
config = create_release_mixin_config(CONFIG_FILE, MAIN_BRANCH)
|
||||
config.update({'stage': STAGE})
|
||||
config.update({'module': MODULE})
|
||||
config.update({'project_root_path': PROJECT_ROOT_PATH})
|
||||
config.update({'build_dir_name': BUILD_DIR_NAME})
|
||||
config.update({'stage': STAGE,
|
||||
'module': MODULE,
|
||||
'project_root_path': PROJECT_ROOT_PATH,
|
||||
'build_dir_name': BUILD_DIR_NAME})
|
||||
build = MyBuild(project, config)
|
||||
return build
|
||||
|
||||
|
|
Loading…
Reference in a new issue