fix(docs): git-cliff template add null check
Template checked that previous.commit_id existed but not that the current commit_id existed. Not sure what caused that to be null.
This commit is contained in:
parent
692a860f6c
commit
ba92f23b41
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ body = """
|
||||||
## [unreleased]
|
## [unreleased]
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{% if previous %}\
|
{% if previous %}\
|
||||||
{% if previous.commit_id %}
|
{% if previous.commit_id and commit_id %}
|
||||||
[{{ previous.commit_id | truncate(length=7, end="") }}](https://git.kemitix.net/kemitix/git-next/commit/{{ previous.commit_id }})...\
|
[{{ previous.commit_id | truncate(length=7, end="") }}](https://git.kemitix.net/kemitix/git-next/commit/{{ previous.commit_id }})...\
|
||||||
[{{ commit_id | truncate(length=7, end="") }}](https://git.kemitix.net/kemitix/git-next/commit/{{ commit_id }})
|
[{{ commit_id | truncate(length=7, end="") }}](https://git.kemitix.net/kemitix/git-next/commit/{{ commit_id }})
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
|
|
Loading…
Reference in a new issue