コード例 #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);
 }