diff --git a/cc-gen/Commands/GenerateCommand.cs b/cc-gen/Commands/GenerateCommand.cs index f45a27a..83271d3 100644 --- a/cc-gen/Commands/GenerateCommand.cs +++ b/cc-gen/Commands/GenerateCommand.cs @@ -52,7 +52,7 @@ public GenerateCommand() string? toSha = null; // We want to read from other way around (latest first)! - var allTags = repository.Tags.Reverse().ToList(); + var allTags = repository.Tags.OrderBy(x => ((Commit)x.PeeledTarget).Committer.When).Reverse().ToList(); if (allTags.Count == 0) {