109""" update release tags """
+110logger.debug("Start updating release tags in folder: "+config['project.release.folder'])
+111ifconfig['project.release.folder']=="automatic":
+112toplevelproject=ccm.Project(session,config['project.four.part.name'])
+113releasefolders=toplevelproject.folders
+114releasefolder=releasefolders[0]
+115logger.debug("Release folder found from rp is: "+releasefolder.name)
+116else:
+117releasefolder=ccm.Folder(session,config['project.release.folder'])
+118fortaskinreleasefolder.tasks:
+119ifstr(task.get_release_tag()).strip()==config['task.release.tag.from']:
+120logger.debug("Changing release tag of %s to %s"%(task.name,config['task.release.tag.to']))
+121task.set_release_tag(config['task.release.tag.to'])
+122logger.debug("Finished updating release tags in folder: "+config['project.release.folder'])
+