diff --git a/CHANGELOG.md b/CHANGELOG.md index 981aa7e..85e01ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,8 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). -## [Unreleased] + +## [Unreleased] - ReleaseDate ### Added - Implemented common traits for `Hours`. @@ -46,6 +47,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. This is the initial release to crates.io. There may be some API changes in the future. All changes will be documented in this CHANGELOG. + [Unreleased]: https://github.com/eldruin/rtcc-rs/compare/v0.3.0...HEAD [0.3.0]: https://github.com/eldruin/rtcc-rs/compare/v0.2.1...v0.3.0 [0.2.1]: https://github.com/eldruin/rtcc-rs/compare/v0.2.0...v0.2.1 diff --git a/release.toml b/release.toml new file mode 100644 index 0000000..46ca2e2 --- /dev/null +++ b/release.toml @@ -0,0 +1,7 @@ +pre-release-replacements = [ + {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, + {file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1}, + {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, + {file="CHANGELOG.md", search="", replace="\n## [Unreleased] - ReleaseDate\n", exactly=1}, + {file="CHANGELOG.md", search="", replace="\n[Unreleased]: https://github.com/eldruin/{{crate_name}}-rs/compare/{{tag_name}}...HEAD", exactly=1}, +] \ No newline at end of file