forked from oxidecomputer/progenitor
-
Notifications
You must be signed in to change notification settings - Fork 1
/
release.toml
22 lines (20 loc) · 1.4 KB
/
release.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# This file is used by cargo-release.
# 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/progenitor/compare/{{tag_name}}\\...HEAD[Full list of commits]", exactly=1},
]
pre-release-commit-message = "release progenitor {{version}}"
post-release-commit-message = "starting progenitor {{next_version}} after releasing {{version}}"
tag-message = "release {{crate_name}} {{version}}"
tag-prefix = ""
dev-version = true
dev-version-ext = "dev"
consolidate-commits = true
push = false
shared-version = true
dependent-version = "upgrade"