More automated release configuration.
This commit is contained in:
parent
b4d08120ce
commit
1846d2f6c6
18
CHANGELOG.md
Normal file
18
CHANGELOG.md
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Changelog
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## [unreleased]
|
||||
|
||||
### Miscellaneous Tasks
|
||||
|
||||
- More automated release configuration.
|
||||
|
||||
## Version 0.1.0 - 2022-03-18
|
||||
|
||||
### Miscellaneous Tasks
|
||||
|
||||
- Rename crate and set up automated releases.
|
||||
- Remove demo.
|
||||
|
||||
<!-- generated by git-cliff -->
|
|
@ -15,4 +15,7 @@ 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.'"]
|
||||
pre-release-hook = "git-cliff --output CHANGELOG.md"
|
||||
pre-release-replacements = [
|
||||
{file="CHANGELOG.md", search="## Unreleased", replace="## Version {{version}} - {{date}}"},
|
||||
]
|
|
@ -10,7 +10,7 @@ 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]
|
||||
{% endif %}\
|
||||
|
|
Loading…
Reference in New Issue
Block a user