# This file is used by cargo-release. # This version is cribbed from Dropshot and updated for cargo-release 0.21.1 # Update the change log to reflect the new release and set us up for the next release. pre-release-replacements = [ # First, replace the current "Unreleased changes" header with one reflecting the new release version and date. {file="CHANGELOG.adoc", search="Unreleased changes \\(release date TBD\\)", replace="{{version}} (released {{date}})", exactly=1}, # Update the link to the list of raw commits in the formerly "Unreleased changes" section. It should end at the tag for the newly-released version. {file="CHANGELOG.adoc", search="\\\\.\\.\\.HEAD", replace="\\...{{tag_name}}", exactly=1}, # Next, append a new "Unreleased changes" header beneath the sentinel line. {file="CHANGELOG.adoc", search="// cargo-release: next header goes here \\(do not change this line\\)", replace="// cargo-release: next header goes here (do not change this line)\n\n== Unreleased changes (release date TBD)\n\nhttps://github.com/oxidecomputer/steno/compare/{{tag_name}}\\...HEAD[Full list of commits]", exactly=1}, ] push = false pre-release-commit-message = "release {{crate_name}} {{version}}" post-release-commit-message = "starting {{crate_name}} {{next_version}} after releasing {{version}}" tag-message = "release {{crate_name}} {{version}}" tag-prefix = "" dev-version = true dev-version-ext = "dev" allow-branch = [ "main" ]