Skip to content

Commit

Permalink
chore(deps): update to python-semantic-release 9.12 (#455)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ddneilson authored Oct 29, 2024
1 parent 4708e3b commit 91c25c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .semantic_release/CHANGELOG.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down
2 changes: 1 addition & 1 deletion requirements-release.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-semantic-release == 9.8.*
python-semantic-release == 9.12.*

0 comments on commit 91c25c1

Please sign in to comment.