Example #1
0
        public IDictionary <Version, ChangeLogVersionDetails> GetChangeLog(XDocument changeLogContent)
        {
            var changeLogItems = ChangeLogProvider.GetChangeLog(settingsCollection.InternalSettings.LastChangeLogVersion, versionControl.DeployedVersion, changeLogContent);

            settingsCollection.InternalSettings.SetLastChangeLogVersion(versionControl.DeployedVersion);
            settingsCollection.SaveSettings();
            trackUsage.UpdateSettings(settingsCollection.AppSettings, settingsCollection.InternalSettings);
            return(changeLogItems);
        }
Example #2
0
        public IEnumerable <ChangeLogVersion> GetChangeLog(XDocument changeLogContent)
        {
            var changeLogItems = ChangeLogProvider.GetChangeLog(settingsCollection.InternalSettings.LastChangeLogVersion, changeLogContent);

            if (versionControl.IsAutomatedDeploy)
            {
                settingsCollection.InternalSettings.SetLastChangeLogVersion(versionControl.DeployedVersion);
                settingsCollection.SaveSettings();
            }

            return(changeLogItems);
        }