Compare commits
No commits in common. "645934761023e6b349efa755fd47da862ede2204" and "b4d08120cedc6e71c9f372196124ae17b68fd599" have entirely different histories.
6459347610
...
b4d08120ce
|
@ -15,9 +15,7 @@ steps:
|
||||||
- name: release
|
- name: release
|
||||||
image: rust
|
image: rust
|
||||||
commands:
|
commands:
|
||||||
- cargo install -f git-cliff
|
- cargo publish
|
||||||
- git-cliff --output CHANGELOG.md
|
|
||||||
- cargo publish --allow-dirty
|
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
|
|
@ -14,4 +14,5 @@ rand = "0.8"
|
||||||
|
|
||||||
[package.metadata.release]
|
[package.metadata.release]
|
||||||
tag-prefix = ""
|
tag-prefix = ""
|
||||||
publish = false
|
publish = false
|
||||||
|
pre-release-hook = ["git cliff --tag {{tag_name}} --output CHANGELOG.md", "git add CHANGELOG.md", "git commit CHANGELOG.md -m 'Update changelog for release.'"]
|
|
@ -10,9 +10,9 @@ All notable changes to this project will be documented in this file.\n
|
||||||
# https://tera.netlify.app/docs/#introduction
|
# https://tera.netlify.app/docs/#introduction
|
||||||
body = """
|
body = """
|
||||||
{% if version %}\
|
{% if version %}\
|
||||||
## Version {{ version | trim_start_matches(pat="v") }} - {{ timestamp | date(format="%Y-%m-%d") }}
|
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
|
||||||
{% else %}\
|
{% else %}\
|
||||||
## Unreleased
|
## [unreleased]
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{% for group, commits in commits | group_by(attribute="group") %}
|
{% for group, commits in commits | group_by(attribute="group") %}
|
||||||
### {{ group | upper_first }}
|
### {{ group | upper_first }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user