예제 #1
0
        public void GenerateGitVersionInformation(VersionVariables variables, FileWriteInfo fileWriteInfo)
        {
            var gitVersionOptions = options.Value;

            using (gitVersionInfoGenerator)
            {
                gitVersionInfoGenerator.Execute(variables, new GitVersionInfoContext(gitVersionOptions.WorkingDirectory, fileWriteInfo.FileName, fileWriteInfo.FileExtension));
            }
        }
예제 #2
0
 public void GenerateGitVersionInformation(VersionVariables variables, FileWriteInfo fileWriteInfo)
 {
     gitVersionInformationGenerator.Generate(variables, fileWriteInfo);
 }