Skip to content

Commit

Permalink
build(repo): Adjust generated CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronauck committed Jan 29, 2025
1 parent e6e5723 commit 4a007f1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 18 deletions.
18 changes: 8 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,33 @@
# Changelog

## [Unreleased]

## [0.0.23](https://github.com/FuelLabs/data-systems/compare/v0.0.22...v0.0.23) - 2025-01-28

### ⭐ Features

- _(macros)_: Add description field on subjects ([0a4ccdd](https://github.com/FuelLabs/data-systems/commit/0a4ccdd875076390b99922e94ba93974605e34e3)) (by @pedronauck)
- **(macros)**: Add description field on subjects ([0a4ccdd](https://github.com/FuelLabs/data-systems/commit/0a4ccdd875076390b99922e94ba93974605e34e3) by @pedronauck)

### 🐛 Bug Fixes

- _(sv-publisher)_: Recover mechanism for tx status none (#396) ([1b1083d](https://github.com/FuelLabs/data-systems/commit/1b1083dbda9791e27d2e00a9e16b91662dbf86e7)) (by @pedronauck)
- **(sv-publisher)**: Recover mechanism for tx status none ([1b1083d](https://github.com/FuelLabs/data-systems/commit/1b1083dbda9791e27d2e00a9e16b91662dbf86e7) by @pedronauck)

### 🔄 Refactor

- _(repo)_: Move services to a specific folder ([d62e206](https://github.com/FuelLabs/data-systems/commit/d62e20688490b1d99427c111a7e7d0a3896308e0)) (by @pedronauck)

- _(macros)_: Use IndexMap when building subjects schema ([90e9866](https://github.com/FuelLabs/data-systems/commit/90e986686c8802132fa643f2ff77c04108a31e2d)) (by @pedronauck)
- **(repo)**: Move services to a specific folder ([d62e206](https://github.com/FuelLabs/data-systems/commit/d62e20688490b1d99427c111a7e7d0a3896308e0) by @pedronauck)
- **(macros)**: Use IndexMap when building subjects schema ([90e9866](https://github.com/FuelLabs/data-systems/commit/90e986686c8802132fa643f2ff77c04108a31e2d) by @pedronauck)

### 🏗️ Build

- _(repo)_: Fix docs.rs build generation ([b93f057](https://github.com/FuelLabs/data-systems/commit/b93f0578914c370e14606cbc855feeba396c694d)) (by @pedronauck)

- _(repo)_: Change mainnet endpoint ([097201f](https://github.com/FuelLabs/data-systems/commit/097201f51382e640ea42cd0ecfe0ac0d2c275da4)) (by @pedronauck)
- **(repo)**: Fix docs.rs build generation ([b93f057](https://github.com/FuelLabs/data-systems/commit/b93f0578914c370e14606cbc855feeba396c694d) by @pedronauck)
- **(repo)**: Change mainnet endpoint ([097201f](https://github.com/FuelLabs/data-systems/commit/097201f51382e640ea42cd0ecfe0ac0d2c275da4) by @pedronauck)

### 💪🏼 Contributors

- @pedronauck

Want to contribute? Check out our [CONTRIBUTING.md](./CONTRIBUTING.md) guide!

---

## 0.0.18 (2025-01-24)

### 🐛 Fixes
Expand Down
16 changes: 8 additions & 8 deletions release-plz.toml
Original file line number Diff line number Diff line change
Expand Up @@ -104,16 +104,15 @@ publish = false
sort_commits = "newest"
header = """# Changelog
## [Unreleased]
"""

body = """
{% macro print_commit(commit) -%}
- {% if commit.breaking %}[**breaking**] {% endif %}\
{% if commit.scope %}*({{ commit.scope }})*: {% endif %}\
{{ commit.message | upper_first }} \
([{{ commit.id | truncate(length=7, end="") }}]({{ remote.link }}/commit/{{ commit.id }})) {{ self::username(commit=commit) }}
{% endmacro -%}
([{{ commit.id | truncate(length=7, end="") }}]({{ remote.link }}/commit/{{ commit.id }}) {{ self::username(commit=commit) }})
{%- endmacro -%}
{% if version %}\
{% if previous.version %}\
Expand All @@ -126,11 +125,11 @@ body = """
{% for group, commits in commits
| filter(attribute="merge_commit", value=false)
| unique(attribute="message")
| group_by(attribute="group") %}
| group_by(attribute="group") -%}
### {{ group | striptags | trim | upper_first }}
{% for commit in commits %}
{%- for commit in commits %}
{{ self::print_commit(commit=commit) }}
{% endfor %}
{%- endfor %}
{% endfor %}
{%- if remote.contributors %}
Expand All @@ -141,10 +140,11 @@ body = """
{% endif -%}
{%- macro username(commit) -%}
{% if commit.remote.username %} (by @{{ commit.remote.username }}){% endif -%}
{% if commit.remote.username %} @{{ commit.remote.username }}{% endif -%}
{% endmacro -%}
Want to contribute? Check out our [CONTRIBUTING.md](./CONTRIBUTING.md) guide!\n
Want to contribute? Check out our [CONTRIBUTING.md](./CONTRIBUTING.md) guide!\n\n
---
"""

commit_parsers = [
Expand Down

0 comments on commit 4a007f1

Please sign in to comment.