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); }
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); }