- provide alternative method to sort tags

- introduce option configuration allowing to specify which method to pick
  - semver (default)
  - alphabetical sort order (sort)
This commit is contained in:
Mike Penz
2020-10-20 11:55:09 +02:00
parent 58bf38f3d9
commit 1089e28a2f
4 changed files with 91 additions and 11 deletions
+2 -1
View File
@@ -83,7 +83,8 @@ export class ReleaseNotesBuilder {
this.toTag,
this.ignorePreReleases,
this.configuration.max_tags_to_fetch ||
DefaultConfiguration.max_tags_to_fetch
DefaultConfiguration.max_tags_to_fetch,
this.configuration.tag_resolver || DefaultConfiguration.tag_resolver
)
if (previousTag == null) {
failOrError(