mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-04-24 06:37:16 -04:00
no log: Fix issues again when generating changelogs
This commit is contained in:
parent
85f170bfcd
commit
cfed0f57c4
4 changed files with 10 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"template": "./changelog.hbs",
|
||||
"template": "./changelog-dev.hbs",
|
||||
"ignoreCommitPattern": "^(Release|no log:).*",
|
||||
"sortCommits": "date-desc"
|
||||
}
|
2
.github/scripts/create_changelog.sh
vendored
2
.github/scripts/create_changelog.sh
vendored
|
@ -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
|
8
changelog-dev.hbs
Normal file
8
changelog-dev.hbs
Normal file
|
@ -0,0 +1,8 @@
|
|||
From newest to oldest:
|
||||
{{#each releases}}
|
||||
{{#if @first}}
|
||||
{{#each commits}}
|
||||
- {{subject}}{{#if href}} [{{shorthash}}]({{href}}){{/if}}
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
{{/each}}
|
Loading…
Add table
Add a link
Reference in a new issue