Esempio n. 1
0
        /// <summary>
        /// Returns the notes list of this release. It contains the change log of all pushes to the "default"
        /// repository.
        /// </summary>
        private string GetChangelog()
        {
            StringBuilder log = new StringBuilder();

            log.AppendLine("Google .NET Client Library");
            log.AppendLine(string.Format("Stable Release '{0}'", Tag));
            log.AppendLine(DateTime.UtcNow.ToLongDateString());
            log.AppendLine("===========================================");

            log.AppendLine().AppendLine("Changes:");
            foreach (string line in DefaultRepository.CreateChangelist())
            {
                log.AppendLine("  " + line);
            }

            return(log.ToString());
        }