- introduce proper approach to retrieve tag before a given tag

- add configuration options for
  - path
  - configuration
  - fromTag, toTag
  - token
- allow to specify transformers to adjust information to a specific form
- allow to specify different templates
- speed up by limiting information to pull
- add logic to automatically resolve current
- use github actions logger
This commit is contained in:
Mike Penz
2020-10-16 15:52:24 +02:00
parent 5ec7a2d86f
commit 0a66008df0
18 changed files with 14515 additions and 158 deletions
+27
View File
@@ -0,0 +1,27 @@
interface Configuration {
sort: string;
template: string;
pr_template: string;
empty_template: string;
categories: Array<Category>;
transformers: Array<Transformer>;
}
interface Category {
title: string;
labels: Array<string>;
}
interface Transformer {
pattern: string;
target: string;
}
const DefaultConfiguration: Configuration = {
sort: "ASC",
template: "${{CHANGELOG}}",
pr_template: "- ${{TITLE}}\n - PR: #${{NUMBER}}",
empty_template: "- no changes",
categories: [],
transformers: []
}