# change release name of project config in OBS
change_release_name(build, obs_project, git_tag)
+ #disable publish flag
+ build.disable_build_flag(obs_project, repo = None, flag="publish", status="disable")
+
#disable build flag
build.disable_build_flag(obs_project, repo = None, flag="build", status="disable")
#default build flag
build.default_build_flag(obs_project, repo = None, flag="build")
+ #default publish flag
+ build.default_build_flag(obs_project, repo = None, flag="publish")
+
def get_branch_name(tag):
"""Get branch name by parsing info