Skip to content

Commit

Permalink
chore: Add missing release.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed Page committed Jan 31, 2021
1 parent 598be46 commit 730f03d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 17 deletions.
9 changes: 0 additions & 9 deletions README.md
Expand Up @@ -8,15 +8,6 @@
![License](https://img.shields.io/crates/l/escargot.svg)
[![Crates Status](https://img.shields.io/crates/v/escargot.svg)](https://crates.io/crates/escargot)

## Install

Add to your `Cargo.toml`:

```toml
[dependencies]
escargot = "0.5"
```

## Why escargot

Compared to depending on `cargo`:
Expand Down
11 changes: 11 additions & 0 deletions release.toml
@@ -0,0 +1,11 @@
pre-release-commit-message = "chore({{crate_name}}): Release {{version}}"
no-dev-version = true
tag-message = "{{tag_name}}"
tag-name = "{{prefix}}v{{version}}"
pre-release-replacements = [
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1},
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/assert-rs/predicates-rs/compare/{{tag_name}}...HEAD", exactly=1},
]
9 changes: 1 addition & 8 deletions src/lib.rs
@@ -1,13 +1,6 @@
//! # Escargot: A Cargo API
//!
//! ## Install
//!
//! Add to your `Cargo.toml`:
//!
//! ```toml
//! [dependencies]
//! escargot = "0.5"
//! ```
//! ## Features
//!
//! Features:
//! - `print` for logged output to be printed instead, generally for test writing.
Expand Down

0 comments on commit 730f03d

Please sign in to comment.