Пример #1
0
        public void UpdateAssemblyInfo(VersionVariables variables)
        {
            var arguments = options.Value;

            if (arguments.UpdateAssemblyInfo)
            {
                using (assemblyInfoFileUpdater)
                {
                    assemblyInfoFileUpdater.Update(variables, arguments.EnsureAssemblyInfo, arguments.TargetPath, arguments.UpdateAssemblyInfoFileName.ToArray());
                    assemblyInfoFileUpdater.CommitChanges();
                }
            }
        }