diff options
-rw-r--r-- | .auto-changelog | 2 | ||||
-rwxr-xr-x | .github/scripts/create_changelog.sh | 2 | ||||
-rw-r--r-- | changelog-dev.hbs | 8 | ||||
-rw-r--r-- | changelog-master.hbs (renamed from changelog.hbs) | 0 |
4 files changed, 10 insertions, 2 deletions
diff --git a/.auto-changelog b/.auto-changelog index ae00f1230..e41248479 100644 --- a/.auto-changelog +++ b/.auto-changelog @@ -1,5 +1,5 @@ { - "template": "./changelog.hbs", + "template": "./changelog-dev.hbs", "ignoreCommitPattern": "^(Release|no log:).*", "sortCommits": "date-desc" }
\ No newline at end of file diff --git a/.github/scripts/create_changelog.sh b/.github/scripts/create_changelog.sh index 909a773e1..59dc0554e 100755 --- a/.github/scripts/create_changelog.sh +++ b/.github/scripts/create_changelog.sh @@ -8,7 +8,7 @@ master_version=$(git describe --tags --abbrev=0 --match "v[0-9].[0-9].[0-9]") latest_verion=$(git describe --tags --abbrev=0) if [[ $RELEASE_MASTER -eq 1 ]]; then - auto-changelog --stdout --starting-version $master_version --commit-limit 3 + auto-changelog --stdout -t changelog-master.hbs --starting-version $master_version --commit-limit 3 else auto-changelog --stdout --starting-version $latest_verion --unreleased --commit-limit 0 fi
\ No newline at end of file diff --git a/changelog-dev.hbs b/changelog-dev.hbs new file mode 100644 index 000000000..d41d60284 --- /dev/null +++ b/changelog-dev.hbs @@ -0,0 +1,8 @@ +From newest to oldest: +{{#each releases}} + {{#if @first}} + {{#each commits}} + - {{subject}}{{#if href}} [{{shorthash}}]({{href}}){{/if}} + {{/each}} + {{/if}} +{{/each}}
\ No newline at end of file diff --git a/changelog.hbs b/changelog-master.hbs index aa1ae4e1d..aa1ae4e1d 100644 --- a/changelog.hbs +++ b/changelog-master.hbs |