Skip to content

Commit

Permalink
chore(git-cliff): update cliff.toml & create .cliffignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Oakchris1955 committed Jul 30, 2024
1 parent ba128d5 commit cb9fc18
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .cliffignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# remove Cargo.toml from workspace
3ab8735c80d6b1304afb7f09b74289fd0818bf8e

# create README
9c49238f25ec6c97f79fa2dd7816691514b6eec7

# create CHANGELOG and git-cliff config file
ceabaf891782f99cb935748f8f7bcc18627b872d

# upload FAT .img files
69bb0a8e3c34891401f1c746ca44fb902a7b0997

# update .gitignore
21c7d6ba6e1336239efb875f9f157cd98f2066c6
11 changes: 9 additions & 2 deletions cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ header = """
# Changelog\n
All notable changes to this project will be documented in this file.
This changelog is automatically updated weekly by a cron job
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).\n
"""
Expand Down Expand Up @@ -35,9 +37,13 @@ footer = """
/compare/{{ release.previous.version }}..{{ release.version }}
{% endif -%}
{% else -%}
[Unreleased]: \
{% if release.previous.version -%}
[Unreleased]: https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}\
https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}\
/compare/{{ release.previous.version }}..HEAD
{% else -%}
https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}\
/tree/HEAD
{% endif -%}
{% endif -%}
{% endfor %}\
Expand All @@ -58,6 +64,7 @@ commit_parsers = [
{ message = "^chore", skip = true },
{ message = "^ci", skip = true },
{ message = "^test", skip = true },
{ message = "^refactor", skip = true },
{ message = "^.*: add", group = "Added" },
{ message = "^.*: create", group = "Added" },
{ message = "^.*: support", group = "Added" },
Expand All @@ -76,7 +83,7 @@ filter_commits = true
# regex for matching git tags
tag_pattern = "v[0-9].*"
# regex for skipping tags
skip_tags = "v0.1.0-beta.1"
skip_tags = ""
# regex for ignoring tags
ignore_tags = ""
# sort the tags topologically
Expand Down

0 comments on commit cb9fc18

Please sign in to comment.