Compact updating config into one call

This commit is contained in:
bom 2023-02-23 14:40:10 +01:00
parent 1ce4bd9c55
commit c58ddf70da

View file

@ -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