From e87a0c2d6f4280b49dfe27083c9c8cd00878f46b Mon Sep 17 00:00:00 2001 From: Daniel Neilson <53624638+ddneilson@users.noreply.github.com> Date: Tue, 29 Oct 2024 10:17:30 -0500 Subject: [PATCH] chore(deps): update to python-semantic-release 9.12 Updates to the latest python-semantic-release. There's a difference between 9.8 and 9.12 in the specific keys used for bugs & features in the parsed data that we use to generate the CHANGELOG.md file, so the changelog template file needed to be updated as well. Signed-off-by: Daniel Neilson <53624638+ddneilson@users.noreply.github.com> --- .semantic_release/CHANGELOG.md.j2 | 8 ++++---- requirements-release.txt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.semantic_release/CHANGELOG.md.j2 b/.semantic_release/CHANGELOG.md.j2 index 2dcaa1f7..2fe5bc0d 100644 --- a/.semantic_release/CHANGELOG.md.j2 +++ b/.semantic_release/CHANGELOG.md.j2 @@ -8,16 +8,16 @@ {% endfor %} {% endif %} - {% if "feature" in release["elements"] %} + {% if "features" in release["elements"] %} ### Features - {% for commit in release["elements"]["feature"] %} + {% for commit in release["elements"]["features"] %} * {% if commit.scope %}**{{ commit.scope }}**: {% endif %}{{ commit.commit.summary[commit.commit.summary.find(": ")+1:].strip() }} ([`{{ commit.short_hash }}`]({{ commit.commit.hexsha | commit_hash_url }})) {% endfor %} {% endif %} - {% if "fix" in release["elements"] %} + {% if "bug fixes" in release["elements"] %} ### Bug Fixes - {% for commit in release["elements"]["fix"] %} + {% for commit in release["elements"]["bug fixes"] %} * {% if commit.scope %}**{{ commit.scope }}**: {% endif %}{{ commit.commit.summary[commit.commit.summary.find(":")+1:].strip() }} ([`{{ commit.short_hash }}`]({{ commit.commit.hexsha | commit_hash_url }})) {% endfor %} {% endif %} diff --git a/requirements-release.txt b/requirements-release.txt index c09d81be..55f73d99 100644 --- a/requirements-release.txt +++ b/requirements-release.txt @@ -1 +1 @@ -python-semantic-release == 9.8.* \ No newline at end of file +python-semantic-release == 9.12.* \ No newline at end of file