diff --git a/tools/Tgstation.Server.ReleaseNotes/Program.cs b/tools/Tgstation.Server.ReleaseNotes/Program.cs index bd2f868e20..3cceaf2237 100644 --- a/tools/Tgstation.Server.ReleaseNotes/Program.cs +++ b/tools/Tgstation.Server.ReleaseNotes/Program.cs @@ -1496,10 +1496,10 @@ [optional blank line(s), stripped] || component == Component.NugetCommon) continue; - var takeNotesFrom = previousRelease.ComponentVersions[componentKvp.Key]; + var hasPreviousRelease = previousRelease.ComponentVersions.TryGetValue(componentKvp.Key, out var takeNotesFrom); var changesEnumerator = releaseNotes .Components[component] - .Where(changelist => changelist.Version > takeNotesFrom && changelist.Version <= componentKvp.Value) + .Where(changelist => !hasPreviousRelease || (changelist.Version > takeNotesFrom && changelist.Version <= componentKvp.Value)) .SelectMany(x => x.Changes) .OrderBy(x => x.PullRequest); var changelist = new Changelist