Skip to content

Commit 6ef4bd3

Browse files
committed
Prepare for release
1 parent 6bf982f commit 6ef4bd3

File tree

4 files changed

+44
-2
lines changed

4 files changed

+44
-2
lines changed

CHANGELOG.adoc

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
:showtitle:
2+
:toc: left
3+
:icons: font
4+
:toclevels: 1
5+
6+
= Rustfmt-wrapper Changelog
7+
8+
// WARNING: This file is modified programmatically by `cargo release` as
9+
// configured in release.toml. DO NOT change the format of the headers or the
10+
// list of raw commits.
11+
12+
// cargo-release: next header goes here (do not change this line)
13+
14+
== Unreleased changes (release date TBD)
15+
16+
https://github.com/oxidecomputer/rustfmt-wrapper/compare/v0.1.0\...HEAD[Full list of commits]
17+
18+
* Added `rustfmt_config()` for greater flexibility (#1)
19+
* Imported all stable and unstable `rustfmt` options (#1)
20+
21+
== 0.1.0 (released 2021-10-08)
22+
23+
First published version

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rustfmt-wrapper"
3-
version = "0.2.0"
3+
version = "0.2.0-dev"
44
authors = ["Adam H. Leventhal <[email protected]>"]
55
edition = "2021"
66
license = "Apache-2.0"

release.toml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# This file is used by cargo-release.
2+
3+
# Update the change log to reflect the new release and set us up for the next release.
4+
pre-release-replacements = [
5+
# First, replace the current "Unreleased changes" header with one reflecting the new release version and date.
6+
{file="CHANGELOG.adoc", search="Unreleased changes \\(release date TBD\\)", replace="{{version}} (released {{date}})", exactly=1},
7+
# 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.
8+
{file="CHANGELOG.adoc", search="\\\\.\\.\\.HEAD", replace="\\...{{tag_name}}", exactly=1},
9+
# Next, append a new "Unreleased changes" header beneath the sentinel line.
10+
{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/rustfmt-wrapper/compare/{{tag_name}}\\...HEAD[Full list of commits]", exactly=1},
11+
]
12+
13+
pre-release-commit-message = "release {{crate_name}} {{version}}"
14+
post-release-commit-message = "starting {{crate_name}} {{next_version}} after releasing {{version}}"
15+
tag-message = "release {{crate_name}} {{version}}"
16+
tag-prefix = ""
17+
dev-version = true
18+
dev-version-ext = "dev"
19+
push = false

0 commit comments

Comments
 (0)