Skip to content

Commit 8331567

Browse files
author
Ed Page
committed
chore: Manage CHANGELOG through cargo-release
1 parent b4d4beb commit 8331567

File tree

2 files changed

+19
-17
lines changed

2 files changed

+19
-17
lines changed

CHANGELOG.md

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,30 @@
1-
<a name="1.0.1"></a>
1+
# Change Log
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
5+
and this project adheres to [Semantic Versioning](http://semver.org/).
6+
7+
<!-- next-header -->
8+
9+
## [Unreleased] - ReleaseDate
10+
211
## 1.0.1 (2020-03-30)
312

413
#### Fixes
514

615
- Reduce dependencies.
716

8-
<a name="1.0.0"></a>
917
## 1.0.0 (2020-03-26)
1018

1119
Stable release!
1220

13-
<a name="0.12.2"></a>
1421
## 0.12.2 (2020-03-26)
1522

1623
#### Features
1724

1825
* **cmd**:
1926
* Support timeouts (closes [#10](https://github.com/assert-rs/assert_cmd/issues/20)).
2027

21-
<a name="0.12.1"></a>
2228
## 0.12.1 (2020-03-25)
2329

2430

@@ -27,7 +33,6 @@ Stable release!
2733
* **cmd**:
2834
* Avoid stdin/stdout deadlocks by writing/reading in parallel (closes [#42](https://github.com/assert-rs/assert_cmd/issues/42)).
2935

30-
<a name="0.12.0"></a>
3136
## 0.12.0 (2019-12-05)
3237

3338

@@ -43,7 +48,6 @@ Stable release!
4348

4449

4550

46-
<a name="0.11.1"></a>
4751
## 0.11.1 (2019-03-23)
4852

4953

@@ -53,7 +57,6 @@ Stable release!
5357

5458

5559

56-
<a name="0.11.0"></a>
5760
## 0.11.0 (2019-01-29)
5861

5962

@@ -68,7 +71,6 @@ Stable release!
6871
* See the [`assert_cmd::cargo` docs](https://docs.rs/assert_cmd/0.11.0/assert_cmd/cargo/index.html) for trade-offs with when to use `escargot` vs `assert_cmd`
6972

7073

71-
<a name="0.10.2"></a>
7274
## 0.10.2 (2018-11-21)
7375

7476

@@ -81,7 +83,6 @@ Stable release!
8183

8284

8385

84-
<a name="0.10.1"></a>
8586
## 0.10.1 (2018-10-10)
8687

8788

@@ -90,7 +91,6 @@ Stable release!
9091
* Documentation fixes
9192

9293

93-
<a name="0.10.0"></a>
9494
## 0.10.0 (2018-10-10)
9595

9696

@@ -107,7 +107,6 @@ Stable release!
107107

108108

109109

110-
<a name="0.9.1"></a>
111110
## 0.9.1 (2018-08-09)
112111

113112

@@ -117,7 +116,6 @@ Stable release!
117116

118117

119118

120-
<a name="0.9.0"></a>
121119
## 0.9.0 (2018-08-02)
122120

123121

@@ -140,7 +138,6 @@ Stable release!
140138

141139

142140

143-
<a name="0.5.0"></a>
144141
## 0.6.0 (2018-07-18)
145142

146143

@@ -154,7 +151,6 @@ Stable release!
154151

155152

156153

157-
<a name="0.5.0"></a>
158154
## 0.5.0 (2018-07-13)
159155

160156

@@ -168,7 +164,6 @@ Stable release!
168164

169165

170166

171-
<a name="0.4.0"></a>
172167
## 0.4.0 (2018-06-28)
173168

174169

@@ -188,7 +183,6 @@ Stable release!
188183

189184

190185

191-
<a name="0.3.0"></a>
192186
## 0.3.0 (2018-06-07)
193187

194188
### Features
@@ -200,7 +194,6 @@ Stable release!
200194
* Moved all cargo stuff under `cargo` module.
201195

202196

203-
<a name="0.2.0"></a>
204197
## 0.2.0 (2018-06-06)
205198

206199

@@ -216,3 +209,7 @@ Stable release!
216209

217210
* Change to predicates v0.5.0 ([5fa02435](https://github.com/assert-rs/assert_cmd/commit/5fa02435ffee0a3fb5f94fa374437ae71201f7d7))
218211
* Simplify stdout/stderr str predicates ([8cdfb91e](https://github.com/assert-rs/assert_cmd/commit/8cdfb91e0f7a535d3d2b9fbb21f0df5d236a0f0a), closes [#11](https://github.com/assert-rs/assert_cmd/issues/11))
212+
213+
214+
<!-- next-url -->
215+
[Unreleased]: https://github.com/assert-rs/assert_cmd/compare/v1.0.1...HEAD

release.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,9 @@ tag-name = "{{prefix}}v{{version}}"
55
pre-release-replacements = [
66
{file="README.md", search="assert_cmd = .*", replace="assert_cmd = \"{{version}}\""},
77
{file="src/lib.rs", search="assert_cmd = .*", replace="assert_cmd = \"{{version}}\""},
8+
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}"},
9+
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}"},
10+
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}"},
11+
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate"},
12+
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/assert-rs/predicates-rs/compare/{{tag_name}}...HEAD"},
813
]

0 commit comments

Comments
 (0)