summaryrefslogtreecommitdiff
path: root/serde_dhall/release.toml
diff options
context:
space:
mode:
Diffstat (limited to 'serde_dhall/release.toml')
-rw-r--r--serde_dhall/release.toml35
1 files changed, 35 insertions, 0 deletions
diff --git a/serde_dhall/release.toml b/serde_dhall/release.toml
new file mode 100644
index 0000000..d15cf88
--- /dev/null
+++ b/serde_dhall/release.toml
@@ -0,0 +1,35 @@
+[[pre-release-replacements]]
+file = "src/lib.rs"
+search = "\\[doc\\(html_root_url = .*\\)\\]"
+replace = "[doc(html_root_url = \"https://docs.rs/{{crate_name}}/{{version}}\")]"
+exactly = 1
+
+[[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