Skip to content

Commit

Permalink
fix(release-plz): improvements all around (#26)
Browse files Browse the repository at this point in the history
Signed-off-by: gacallea <3269984+gacallea@users.noreply.github.com>

---------

Signed-off-by: gacallea <3269984+gacallea@users.noreply.github.com>
  • Loading branch information
andreacfromtheapp authored Aug 10, 2024
1 parent a595275 commit 7caf55f
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 54 deletions.
77 changes: 38 additions & 39 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,126 +7,125 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.2.12](https://github.com/gacallea/freesound-credits/compare/0.2.11..0.2.12)
## [0.2.12](https://github.com/gacallea/freesound-credits/compare/v0.2.11..v0.2.12)

### ⛰️ Features
### ⛰️ Features

- Adding pre-commit hook for convetional - ([924c906](https://github.com/gacallea/freesound-credits/commit/924c906c4b662503d8e25199c44780608c323557)) by
- Adding pre-commit hook for convetional - ([924c906](https://github.com/gacallea/freesound-credits/commit/924c906c4b662503d8e25199c44780608c323557))

### 🐛 Bug Fixes

- *(changelog)* Better template, less redundant, fix broken links - ([d2512ae](https://github.com/gacallea/freesound-credits/commit/d2512aeb81a63d7282f15f60fbc9bcc1f6daec60)) by
- *(changelog)* New template Closes [#22](https://github.com/gacallea/freesound-credits/pull/22) - ([2e421a9](https://github.com/gacallea/freesound-credits/commit/2e421a9db04693c5a388d05c411cac0565da7047)) by
- *(pre-commit)* Don't fix. it is unsigned - ([8b544cf](https://github.com/gacallea/freesound-credits/commit/8b544cf883c7f9b3e3bde1e61be6a086682545db)) by
- *(changelog)* Better template, less redundant, fix broken links - ([d2512ae](https://github.com/gacallea/freesound-credits/commit/d2512aeb81a63d7282f15f60fbc9bcc1f6daec60))
- *(changelog)* New template Closes #22 - ([2e421a9](https://github.com/gacallea/freesound-credits/commit/2e421a9db04693c5a388d05c411cac0565da7047))
- *(pre-commit)* Don't fix. it is unsigned - ([8b544cf](https://github.com/gacallea/freesound-credits/commit/8b544cf883c7f9b3e3bde1e61be6a086682545db))

### ⚙️ Miscellaneous Tasks

- Update cargo-dist - ([b1cfa5b](https://github.com/gacallea/freesound-credits/commit/b1cfa5b6792293e10c4e117c3449cf4847cebb43)) by
- Update cargo-dist - ([b1cfa5b](https://github.com/gacallea/freesound-credits/commit/b1cfa5b6792293e10c4e117c3449cf4847cebb43))

## [0.2.11](https://github.com/gacallea/freesound-credits/compare/v0.2.10..v0.2.11)

### 🐛 Bug Fixes

- Single git tag and tag template - ([aa1a051](https://github.com/gacallea/freesound-credits/commit/aa1a051824c405c06fb4677e9786f69a106d301a)) by gacallea
- Single git tag and tag template - ([aa1a051](https://github.com/gacallea/freesound-credits/commit/aa1a051824c405c06fb4677e9786f69a106d301a))

### ⚙️ Miscellaneous Tasks

- Binstall name var - ([5d3977e](https://github.com/gacallea/freesound-credits/commit/5d3977e081cda505f0998356abaee716f5e297d4)) by gacallea
- Remove configs with default values - ([d5b0e9e](https://github.com/gacallea/freesound-credits/commit/d5b0e9eb7ff69b23b0ce12ceada8010532cf8134)) by gacallea
- Binstall name var - ([5d3977e](https://github.com/gacallea/freesound-credits/commit/5d3977e081cda505f0998356abaee716f5e297d4))
- Remove configs with default values - ([d5b0e9e](https://github.com/gacallea/freesound-credits/commit/d5b0e9eb7ff69b23b0ce12ceada8010532cf8134))

## [0.2.10](https://github.com/gacallea/freesound-credits/compare/v0.2.9..v0.2.10)

### 🐛 Bug Fixes

- Removed cliff altogether - ([4184fae](https://github.com/gacallea/freesound-credits/commit/4184fae2bb61b4bcae32df55404ac28fbb38cf9c)) by gacallea
- Trying to switch to keep a changelog - ([0c432c6](https://github.com/gacallea/freesound-credits/commit/0c432c6557f379ba11b04484656d3e84ab803284)) by gacallea
- Removed cliff altogether - ([4184fae](https://github.com/gacallea/freesound-credits/commit/4184fae2bb61b4bcae32df55404ac28fbb38cf9c))
- Trying to switch to keep a changelog - ([0c432c6](https://github.com/gacallea/freesound-credits/commit/0c432c6557f379ba11b04484656d3e84ab803284))

### ⚙️ Miscellaneous Tasks

- Empty the changelog - ([e675890](https://github.com/gacallea/freesound-credits/commit/e6758909169f591c42f22007b3d6d7c2fa0cf7f6)) by gacallea
- Empty the changelog - ([e675890](https://github.com/gacallea/freesound-credits/commit/e6758909169f591c42f22007b3d6d7c2fa0cf7f6))

## [0.2.9](https://github.com/gacallea/freesound-credits/compare/v0.2.8..v0.2.9)

### ⚙️ Miscellaneous Tasks

- Fixing git cliff and changelog -- adding clarify for some license ([#10](https://github.com/gacallea/freesound-credits/issues/10)) - ([fdbb853](https://github.com/gacallea/freesound-credits/commit/fdbb853dd1c2a73f10ae5d74e909f8a10a425423)) by Andrea C
- Fixing git cliff and changelog -- adding clarify for some license ([#10](https://github.com/gacallea/freesound-credits/issues/10)) - ([fdbb853](https://github.com/gacallea/freesound-credits/commit/fdbb853dd1c2a73f10ae5d74e909f8a10a425423))

## [0.2.8](https://github.com/gacallea/freesound-credits/compare/v0.2.7..v0.2.8)

### ⚙️ Miscellaneous Tasks

- Improvements for deny assist pre-commit and plz ([#8](https://github.com/gacallea/freesound-credits/issues/8)) - ([9c9b2a2](https://github.com/gacallea/freesound-credits/commit/9c9b2a212846aef18559dfda00550d9d901c2297)) by Andrea C
- Improvements for deny assist pre-commit and plz ([#8](https://github.com/gacallea/freesound-credits/issues/8)) - ([9c9b2a2](https://github.com/gacallea/freesound-credits/commit/9c9b2a212846aef18559dfda00550d9d901c2297))

## [0.2.7](https://github.com/gacallea/freesound-credits/compare/v0.2.6..v0.2.7)

### ⚙️ Miscellaneous Tasks

- Adding emtpy chagelog file cause cargo-dist needs it. ([#6](https://github.com/gacallea/freesound-credits/issues/6)) - ([cc0e118](https://github.com/gacallea/freesound-credits/commit/cc0e118c1ffcf57af6d01456d6cfced3bbfbe83f)) by Andrea C
- Adding emtpy chagelog file cause cargo-dist needs it. ([#6](https://github.com/gacallea/freesound-credits/issues/6)) - ([cc0e118](https://github.com/gacallea/freesound-credits/commit/cc0e118c1ffcf57af6d01456d6cfced3bbfbe83f))

## [0.2.6](https://github.com/gacallea/freesound-credits/compare/v0.2.5..v0.2.6)

### ⚙️ Miscellaneous Tasks

- Path bump for ci improvements - ([1be859a](https://github.com/gacallea/freesound-credits/commit/1be859a751359d4114fda6002cf33409d2597448)) by gacallea
- Fix cliff toml - ([f541cee](https://github.com/gacallea/freesound-credits/commit/f541cee669415cbfab3db0c198ec83148fb92690)) by gacallea
- Added cargo-assist - ([f0c0005](https://github.com/gacallea/freesound-credits/commit/f0c0005f42ae8d853c0ba2be72b1cee787ac9e0f)) by gacallea
- Change dependabot to less aggressive schedule - ([4cdcf61](https://github.com/gacallea/freesound-credits/commit/4cdcf612e6a11f66f5ec29981f92aa7027f387cb)) by gacallea
- Path bump for ci improvements - ([1be859a](https://github.com/gacallea/freesound-credits/commit/1be859a751359d4114fda6002cf33409d2597448))
- Fix cliff toml - ([f541cee](https://github.com/gacallea/freesound-credits/commit/f541cee669415cbfab3db0c198ec83148fb92690))
- Added cargo-assist - ([f0c0005](https://github.com/gacallea/freesound-credits/commit/f0c0005f42ae8d853c0ba2be72b1cee787ac9e0f))
- Change dependabot to less aggressive schedule - ([4cdcf61](https://github.com/gacallea/freesound-credits/commit/4cdcf612e6a11f66f5ec29981f92aa7027f387cb))

## [0.2.5](https://github.com/gacallea/freesound-credits/compare/v0.2.4..v0.2.5)

### ⛰️ Features
### ⛰️ Features

- Added musl - ([f30644d](https://github.com/gacallea/freesound-credits/commit/f30644d070dd8b9472905b8da1c1b4d10283bb7c)) by gacallea
- Added homebrew - ([d10839f](https://github.com/gacallea/freesound-credits/commit/d10839fe941eff7348926c2ac962b1da4f406410)) by gacallea
- Added musl - ([f30644d](https://github.com/gacallea/freesound-credits/commit/f30644d070dd8b9472905b8da1c1b4d10283bb7c))
- Added homebrew - ([d10839f](https://github.com/gacallea/freesound-credits/commit/d10839fe941eff7348926c2ac962b1da4f406410))

### 🐛 Bug Fixes

- Change run mode to upload - ([22d288c](https://github.com/gacallea/freesound-credits/commit/22d288c0fc6c4d74a8a83ef09f0b72b3642d2be7)) by gacallea
- Change run mode to upload - ([22d288c](https://github.com/gacallea/freesound-credits/commit/22d288c0fc6c4d74a8a83ef09f0b72b3642d2be7))

### ⚙️ Miscellaneous Tasks

- Chronological order for badges - ([f1a4f68](https://github.com/gacallea/freesound-credits/commit/f1a4f68a2939cb6da3d581640f4739c88f559095)) by gacallea
- Chronological order for badges - ([f1a4f68](https://github.com/gacallea/freesound-credits/commit/f1a4f68a2939cb6da3d581640f4739c88f559095))

## [0.2.4](https://github.com/gacallea/freesound-credits/compare/v0.2.3..v0.2.4)

### ⚙️ Miscellaneous Tasks

- Bump version to be on track with release-plz and crates - ([667af7f](https://github.com/gacallea/freesound-credits/commit/667af7f8979586f19653e6f69f142a9e0f174b33)) by gacallea
- Fix badge name for deployment - ([ca31d63](https://github.com/gacallea/freesound-credits/commit/ca31d6337ac6812f16661c0bbd64e87b244d717b)) by gacallea
- Bump version to be on track with release-plz and crates - ([667af7f](https://github.com/gacallea/freesound-credits/commit/667af7f8979586f19653e6f69f142a9e0f174b33))
- Fix badge name for deployment - ([ca31d63](https://github.com/gacallea/freesound-credits/commit/ca31d6337ac6812f16661c0bbd64e87b244d717b))

## [0.2.3](https://github.com/gacallea/freesound-credits/compare/v0.2.2..v0.2.3)

### ⚙️ Miscellaneous Tasks

- Automated CI/CD improved - ([4c93d95](https://github.com/gacallea/freesound-credits/commit/4c93d9528189655a75d18b72d9192cbc67526a45)) by gacallea
- Add/fix templates emojis - ([2dbe1d7](https://github.com/gacallea/freesound-credits/commit/2dbe1d746a34399b8d405568ea7391c781ed344c)) by gacallea
- Delete leftover script dir - ([dedf877](https://github.com/gacallea/freesound-credits/commit/dedf8777f5f8a5209bd8b7ccb5c4b0a59d126304)) by gacallea
- Automated CI/CD improved - ([4c93d95](https://github.com/gacallea/freesound-credits/commit/4c93d9528189655a75d18b72d9192cbc67526a45))
- Add/fix templates emojis - ([2dbe1d7](https://github.com/gacallea/freesound-credits/commit/2dbe1d746a34399b8d405568ea7391c781ed344c))
- Delete leftover script dir - ([dedf877](https://github.com/gacallea/freesound-credits/commit/dedf8777f5f8a5209bd8b7ccb5c4b0a59d126304))

## [0.2.2](https://github.com/gacallea/freesound-credits/compare/v0.2.1..v0.2.2)

### ⚙️ Miscellaneous Tasks

- Wow shiny new cargo-dist CI! - ([8c76d66](https://github.com/gacallea/freesound-credits/commit/8c76d6682c05a8bd5200abb6d71d68941b19ec99)) by gacallea
- Wow shiny new cargo-dist CI! - ([8c76d66](https://github.com/gacallea/freesound-credits/commit/8c76d6682c05a8bd5200abb6d71d68941b19ec99))

## [0.2.1](https://github.com/gacallea/freesound-credits/compare/v0.2.0..v0.2.1)

### 🐛 Bug Fixes

- *(rewadme)* Cargo version bump to fix install mistake - ([c8ef775](https://github.com/gacallea/freesound-credits/commit/c8ef775ea3527920b2df8c9a78eb37421e76c421)) by gacallea
- *(rewadme)* Cargo version bump to fix install mistake - ([c8ef775](https://github.com/gacallea/freesound-credits/commit/c8ef775ea3527920b2df8c9a78eb37421e76c421))

## [0.2.0](https://github.com/gacallea/freesound-credits/compare/v0.1.2..v0.2.0)

### ⛰️ Features
### ⛰️ Features

- *(issue)* Add feature request template - ([d10b225](https://github.com/gacallea/freesound-credits/commit/d10b225da2e5d2e287cf546c34e0b1cb7ad7d555)) by gacallea
- *(issue)* Add bug report template - ([52ce50d](https://github.com/gacallea/freesound-credits/commit/52ce50d795dd765805a7b8683901b2b6f3ab89f7)) by gacallea
- *(issue)* Adding DAW request template - ([05c5a36](https://github.com/gacallea/freesound-credits/commit/05c5a36eec0cfb98146e04d367679b57ae9c7910)) by gacallea
- *(issue)* Add feature request template - ([d10b225](https://github.com/gacallea/freesound-credits/commit/d10b225da2e5d2e287cf546c34e0b1cb7ad7d555))
- *(issue)* Add bug report template - ([52ce50d](https://github.com/gacallea/freesound-credits/commit/52ce50d795dd765805a7b8683901b2b6f3ab89f7))
- *(issue)* Adding DAW request template - ([05c5a36](https://github.com/gacallea/freesound-credits/commit/05c5a36eec0cfb98146e04d367679b57ae9c7910))

### 🐛 Bug Fixes

- *(readme)* Added cc section and link to contribute - ([15145ee](https://github.com/gacallea/freesound-credits/commit/15145ee337c1d63e70a28add8caa7fbbb1ecac29)) by gacallea
- *(readme)* Added cc section and link to contribute - ([15145ee](https://github.com/gacallea/freesound-credits/commit/15145ee337c1d63e70a28add8caa7fbbb1ecac29))

### 📚 Documentation

- *(contributing)* Adding contributing - ([f60b2e6](https://github.com/gacallea/freesound-credits/commit/f60b2e64844de98f61eea81a4967a4a06846baba)) by gacallea

- *(contributing)* Adding contributing - ([f60b2e6](https://github.com/gacallea/freesound-credits/commit/f60b2e64844de98f61eea81a4967a4a06846baba))
20 changes: 5 additions & 15 deletions release-plz.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
[workspace]
# update dependencies with `cargo update`
dependencies_update = true

# Disable git releases for all packages by default
git_release_enable = false

# Disable git tags for all packages by default
git_tag_enable = false

# labels for the release PR
pr_labels = ["release"]

# Options for the package I care the most, e.g. `my_main_package`.
[[package]]
name = "freesound-credits"

# (Optional) Customize the git tag name to remove the `my_main_package` prefix.
git_tag_name = "v{{ version }}"

# Enable git tags for this package
git_tag_enable = true

Expand All @@ -34,23 +29,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
"""

body = """
{%- macro remote_url() -%}
https://github.com/{{ remote.owner }}/{{ remote.repo }}
{%- endmacro -%}
{% macro print_commit(commit) -%}
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}\
{% if commit.breaking %}[**breaking**] {% endif %}\
{{ commit.message | upper_first }} - \
([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }})) \
by {{ commit.author.name }}\
([{{ commit.id | truncate(length=7, end="") }}]({{ remote.link }}/commit/{{ commit.id }}))\
{% endmacro -%}
{% if version %}\
{% if previous.version %}\
## [{{ version | trim_start_matches(pat="v") }}]\
({{ self::remote_url() }}/compare/{{ previous.version }}..{{ version }})
({{ remote.link }}/compare/v{{ previous.version }}..v{{ version }})
{% else %}\
## [{{ version | trim_start_matches(pat="v") }}]
{% endif %}\
Expand All @@ -76,7 +66,7 @@ body = """
"""

commit_parsers = [
{ message = "^feat", group = "<!-- 0 -->⛰️ Features" },
{ message = "^feat", group = "<!-- 0 -->⛰️ Features" },
{ message = "^fix", group = "<!-- 1 -->🐛 Bug Fixes" },
{ message = "^doc", group = "<!-- 3 -->📚 Documentation" },
{ message = "^perf", group = "<!-- 4 -->⚡ Performance" },
Expand All @@ -96,9 +86,9 @@ commit_parsers = [
]

link_parsers = [
# Extract all GitLab issues and PRs and generate URLs linking to them.
# Extract all issues and PRs and generate URLs linking to them.
# The link text will be the matching pattern.
{ pattern = "#(\\d+)", href = "https://github.com/gacallea/freesound-credits/issues/$1" },
{ pattern = "#(\\d+)", href = "{{ remote.link }/issues/$1" },
# Extract mentions of IETF RFCs and generate URLs linking to them.
# It also rewrites the text as "ietf-rfc...".
{ pattern = "RFC(\\d+)", text = "ietf-rfc$1", href = "https://datatracker.ietf.org/doc/html/rfc$1" },
Expand Down

0 comments on commit 7caf55f

Please sign in to comment.