From 7c63a66c67efaa15b80d6b001e286b0d29df6923 Mon Sep 17 00:00:00 2001 From: Denys Zadorozhnyi Date: Mon, 10 May 2021 18:34:03 +0300 Subject: [PATCH] update release.toml; --- CHANGELOG.md | 2 +- Cargo.toml | 2 +- release.toml | 7 +++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 44604fe..d83b5f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,4 +10,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - initial `BoundedVec` implementation including `mapped()`, `first()`, `last()`, to/from array/`Vec`; -[Unreleased]: https://github.com/ergoplatform/bounded-vec/compare/v0.1.0...HEAD +[Unreleased]: https://github.com/ergoplatform/bounded-vec/compare/v0.0.0...HEAD diff --git a/Cargo.toml b/Cargo.toml index ac87d7a..0f9a2f0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bounded-vec" -version = "0.1.0" +version = "0.0.0" license = "CC0-1.0" authors = ["Denys Zadorozhnyi "] edition = "2018" diff --git a/release.toml b/release.toml index 9c51a8d..e59c48f 100644 --- a/release.toml +++ b/release.toml @@ -2,3 +2,10 @@ no-dev-version = true sign-commit = true sign-tag = true push-remote = "origin" +pre-release-replacements = [ + {file="CHANGELOG.md", search="Unreleased", replace="{{version}}"}, + {file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly = 1}, + {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}"}, + {file="CHANGELOG.md", search="", replace="\n## [Unreleased] - ReleaseDate", exactly = 1}, + {file="CHANGELOG.md", search="", replace="\n[Unreleased]: https://github.com/ergoplatform/bounded-vec/compare/{{tag_name}}...HEAD", exactly = 1}, +]