Compare commits
2 Commits
b4d08120ce
...
6459347610
Author | SHA1 | Date | |
---|---|---|---|
6459347610 | |||
1846d2f6c6 |
|
@ -15,7 +15,9 @@ steps:
|
|||
- name: release
|
||||
image: rust
|
||||
commands:
|
||||
- cargo publish
|
||||
- cargo install -f git-cliff
|
||||
- git-cliff --output CHANGELOG.md
|
||||
- cargo publish --allow-dirty
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
|
|
|
@ -15,4 +15,3 @@ rand = "0.8"
|
|||
[package.metadata.release]
|
||||
tag-prefix = ""
|
||||
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
|
||||
body = """
|
||||
{% if version %}\
|
||||
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
|
||||
## Version {{ version | trim_start_matches(pat="v") }} - {{ timestamp | date(format="%Y-%m-%d") }}
|
||||
{% else %}\
|
||||
## [unreleased]
|
||||
## Unreleased
|
||||
{% endif %}\
|
||||
{% for group, commits in commits | group_by(attribute="group") %}
|
||||
### {{ group | upper_first }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user