Skip to content

Commit

Permalink
fix: errors
Browse files Browse the repository at this point in the history
  • Loading branch information
x0f5c3 committed May 19, 2022
1 parent 5af1069 commit de848ea
Show file tree
Hide file tree
Showing 9 changed files with 94 additions and 653 deletions.
151 changes: 23 additions & 128 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ soup = "0.5.1"
pretty_env_logger = "0.4.0"
indicatif = { version = "0.16.0", features = ["rayon", "improved_unicode"] }
human-panic = "1.0.3"
clap = { git = "https://github.com/x0f5c3/clap", branch="master", features = ["cargo", "derive", "wrap_help", "unicode", "regex", "unstable-replace"] }
clap_complete = { git = "https://github.com/x0f5c3/clap", branch="master" }
clap = { version = "3.1.18", features = ["cargo", "derive", "wrap_help", "unicode", "regex", "unstable-replace"] }
clap_complete = "3.1.4"
directories = "4.0.1"
console = "0.14.0"
git2 = { version = "*", features = ["vendored-libgit2", "vendored-openssl"] }
Expand All @@ -42,7 +42,6 @@ shadow-rs = "0.11.0"
which = "4.2.5"
tracing-appender = "0.2.2"
tracing-unwrap = "0.9.2"
tokio-uring = "0.3.0"
chrono = "0.4.19"


Expand Down Expand Up @@ -81,12 +80,10 @@ features = ["progress", "json", "threaded"]
[target.'cfg(windows)'.dependencies]
zip = "*"
zip-extensions = "*"
self_update = { version = "0.27.0", default-features = false, features = ["rustls", "archive-zip", "compression-zip-deflate"] }

[target.'cfg(not(windows))'.dependencies]
flate2 = "1.0.22"
tar = "*"
self_update = { version = "0.27.0", default-features = false, features = ["rustls", "archive-tar", "compression-flate2"] }

[badges]
github = { repository = "x0f5c3/go_version_manager" }
63 changes: 63 additions & 0 deletions cliff.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# configuration file for git-cliff (0.1.0)

[changelog]
# changelog header
header = """
# Changelog\n
"""
# template for the changelog body
# https://tera.netlify.app/docs/#introduction
body = """
{% if version %}\
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
## [unreleased]
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | upper_first }}
{% for commit in commits %}
- {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message | upper_first }}\
{% endfor %}
{% endfor %}\n
"""
# remove the leading and trailing whitespace from the template
trim = true
# changelog footer
footer = """
<!-- generated by git-cliff -->
"""

[git]
# parse the commits based on https://www.conventionalcommits.org
conventional_commits = true
# filter out the commits that are not conventional
filter_unconventional = true
# regex for preprocessing the commit messages
commit_preprocessors = [
{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://github.com/orhun/git-cliff/issues/${2}))"},
]
# regex for parsing and grouping commits
commit_parsers = [
{ message = "^feat", group = "Features"},
{ message = "^fix", group = "Bug Fixes"},
{ message = "^doc", group = "Documentation"},
{ message = "^perf", group = "Performance"},
{ message = "^refactor", group = "Refactor"},
{ message = "^style", group = "Styling"},
{ message = "^test", group = "Testing"},
{ message = "^chore\\(release\\): prepare for", skip = true},
{ message = "^chore", group = "Miscellaneous Tasks"},
{ body = ".*security", group = "Security"},
]
# filter out the commits that are not matched by commit parsers
filter_commits = false
# glob pattern for matching git tags
tag_pattern = "v[0-9]*"
# regex for skipping tags
skip_tags = "v0.1.0-beta.1"
# regex for ignoring tags
ignore_tags = ""
# sort the tags chronologically
date_order = false
# sort the commits inside sections by oldest/newest order
sort_commits = "oldest"
Loading

0 comments on commit de848ea

Please sign in to comment.