Get the cleanup actions for a releaes depending on the selected options

        :returns: the cleanup actions
        :rtype: :class:`jukeboxcore.action.ActionCollection`
        :raises: None

def get_cleanups(self, ):
        """Get the cleanup actions for a releaes depending on the selected options

        :returns: the cleanup actions
        :rtype: :class:`jukeboxcore.action.ActionCollection`
        :raises: None
        """
        cleanups = []
        open_unit = ActionUnit(name="Open",
                               description="Open the maya scene.",
                               actionfunc=open_scene)
        cleanups.append(open_unit)
        if self._option_widget.import_references():
            import_unit = ActionUnit(name="Import references",
                                     description="Import all references in the scene.",
                                     actionfunc=import_all_references,
                                     depsuccess=[open_unit])
            cleanups.append(import_unit)
        update_scenenode_unit = ActionUnit(name="Update Scene Node",
                                           description="Change the id from the jbscene node from work to releasefile.",
                                           actionfunc=update_scenenode,
                                           depsuccess=[open_unit])
        cleanups.append(update_scenenode_unit)
        save_unit = ActionUnit(name="Save",
                               description="Save the scene.",
                               actionfunc=save_scene,
                               depsuccess=[update_scenenode_unit])
        cleanups.append(save_unit)
        return ActionCollection(cleanups)