summaryrefslogtreecommitdiff
path: root/serde_dhall
diff options
context:
space:
mode:
Diffstat (limited to 'serde_dhall')
-rw-r--r--serde_dhall/Cargo.toml3
-rw-r--r--serde_dhall/release.toml29
2 files changed, 31 insertions, 1 deletions
diff --git a/serde_dhall/Cargo.toml b/serde_dhall/Cargo.toml
index 6af883a..ef76032 100644
--- a/serde_dhall/Cargo.toml
+++ b/serde_dhall/Cargo.toml
@@ -1,6 +1,7 @@
[package]
name = "serde_dhall"
-version = "0.4.0" # remember to update html_root_url, README and changelog
+# remember to update html_root_url, README and changelog
+version = "0.4.0"
authors = ["Nadrieril <nadrieril@users.noreply.github.com>"]
license = "BSD-2-Clause"
description = "Dhall support for serde"
diff --git a/serde_dhall/release.toml b/serde_dhall/release.toml
new file mode 100644
index 0000000..7921551
--- /dev/null
+++ b/serde_dhall/release.toml
@@ -0,0 +1,29 @@
+[[pre-release-replacements]]
+file = "../README.md"
+search = "serde_dhall = \".*\""
+replace = "{{crate_name}} = \"{{version}}\""
+exactly = 1
+
+[[pre-release-replacements]]
+file = "../README.md"
+search = "#### \\[Unreleased\\]"
+replace = "#### \\[Unreleased\\]\n\n#### [{{version}}] - {{date}}"
+exactly = 1
+
+[[pre-release-replacements]]
+file = "../README.md"
+search = "\\[Unreleased\\]:"
+replace = "[{{version}}]:"
+exactly = 1
+
+[[pre-release-replacements]]
+file = "../README.md"
+search = "\\.\\.\\.HEAD"
+replace = "...{{tag_name}}"
+exactly = 1
+
+[[pre-release-replacements]]
+file = "../README.md"
+search = "<!-- next-url -->"
+replace = "<!-- next-url -->\n[Unreleased]: https://github.com/Nadrieril/dhall-rust/compare/{{tag_name}}...HEAD"
+exactly = 1