Exemplo n.º 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);
        }
Exemplo n.º 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);
        }