[package] name = "rclog" version = "0.1.3" edition = "2021" license-file = "./LICENSE" description = "A tool that combines changelogs of pre-release versions into the more stable version and pulls out information for a specific version." homepage = "https://github.com/RibirX/rclog" repository = "https://github.com/RibirX/rclog" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] clap = { version = "4.4.12", features = ["derive"] } comrak = {version = "0.20", default-features = false} semver = "1.0.20" [package.metadata.release] pre-release-replacements = [ {file="CHANGELOG.md", search="@Unreleased", replace="{{version}}", prerelease = true}, {file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", min=0, prerelease = true}, {file="CHANGELOG.md", search="@ReleaseDate", replace="{{date}}", prerelease = true}, {file="CHANGELOG.md", search="", replace="\n\n## [@Unreleased] - @ReleaseDate", exactly=1, prerelease = true}, {file="CHANGELOG.md", search="", replace="\n[@Unreleased]: https://github.com/RibirX/rclog/compare/{{tag_name}}...HEAD", exactly=1, prerelease = true}, ] pre-release-hook = ["./rclog_hook.sh"]