Skip to content

Commit

Permalink
chore: Update build system and boilerplate text from other projects
Browse files Browse the repository at this point in the history
  • Loading branch information
scouten-adobe committed Sep 28, 2024
1 parent b7b0f62 commit 3b4ac07
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ jobs:
- name: Install nightly Rust toolchain
# Nightly is used here because the docs.rs build
# uses nightly and we use doc_cfg features that are
# not in stable Rust as of this writing (Rust 1.62).
# not in stable Rust as of this writing (Rust 1.70).
uses: dtolnay/rust-toolchain@nightly

- name: Run cargo docs
Expand Down
2 changes: 0 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

Since version 1.9.1, the format of this changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

Do not manually edit this file. It will be automatically updated when a new release is published.

## [1.9.1](https://github.com/adobe/xmp-toolkit-rs/compare/v1.9.0...v1.9.1)
_30 August 2024_

Expand Down
26 changes: 21 additions & 5 deletions release-plz.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,33 @@ body = """
## [{{ version | trim_start_matches(pat="v") }}]{%- if release_link -%}({{ release_link }}){% endif %}
_{{ timestamp | date(format="%d %B %Y") }}_
{% for group, commits in commits | group_by(attribute="group") %}
{%- for group, commits in commits | group_by(attribute="group") %}
{% if group != "chore" -%}
### {{ group | upper_first }}
{% for commit in commits %}
{%- if commit.scope -%}
* *({{commit.scope}})* {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message }}{%- if commit.links %} ({% for link in commit.links %}[{{link.text}}]({{link.href}}) {% endfor -%}){% endif %}
{% for commit in commits -%}
{%- if commit.scope and commit.scope != package -%}
* *({{commit.scope}})* {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message | upper_first }}{%- if commit.links %} ({% for link in commit.links %}[{{link.text}}]({{link.href}}) {% endfor -%}){% endif %}
{% else -%}
* {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message }}
* {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message | upper_first }}
{% endif -%}
{% endfor -%}
{% endif -%}
{% endfor %}
"""

commit_parsers = [
{ message = "^feat", group = "added" },
{ message = "^changed", group = "changed" },
{ message = "^deprecated", group = "deprecated" },
{ message = "^fix", group = "fixed" },
{ message = "^security", group = "security" },
{ message = "^chore", group = "chore" },
{ message = "^.*", group = "other" },
]

[workspace]
dependencies_update = true
features_always_increment_minor = true
release_always = false
release_commits = "^(feat|fix)[(:]"

0 comments on commit 3b4ac07

Please sign in to comment.