'Write a file containing the full tag for each microservice for GCB
triggers.'

def write_gcb_trigger_version_files(self):

    for comp in self.__component_versions:
        if (comp == 'spinnaker'):
            pass
        gradle_version = self.__version_from_tag(comp)
        git_tag = '{tag}'.format(tag=gradle_version)
        config_file = '{0}-gcb-trigger.yml'.format(comp)
        with open(config_file, 'w') as cfg:
            cfg.write(git_tag)
