summaryrefslogtreecommitdiff
path: root/serde_dhall
diff options
context:
space:
mode:
Diffstat (limited to 'serde_dhall')
-rw-r--r--serde_dhall/release.toml8
-rw-r--r--serde_dhall/src/lib.rs2
2 files changed, 8 insertions, 2 deletions
diff --git a/serde_dhall/release.toml b/serde_dhall/release.toml
index 7921551..d15cf88 100644
--- a/serde_dhall/release.toml
+++ b/serde_dhall/release.toml
@@ -1,4 +1,10 @@
[[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}}\""
@@ -7,7 +13,7 @@ exactly = 1
[[pre-release-replacements]]
file = "../README.md"
search = "#### \\[Unreleased\\]"
-replace = "#### \\[Unreleased\\]\n\n#### [{{version}}] - {{date}}"
+replace = "#### [Unreleased]\n\n#### [{{version}}] - {{date}}"
exactly = 1
[[pre-release-replacements]]
diff --git a/serde_dhall/src/lib.rs b/serde_dhall/src/lib.rs
index c478b2a..bff8989 100644
--- a/serde_dhall/src/lib.rs
+++ b/serde_dhall/src/lib.rs
@@ -1,4 +1,4 @@
-#![doc(html_root_url = "https://docs.rs/serde_dhall/0.4.0")]
+#![doc(html_root_url = "https://docs.rs/serde_dhall/0.5.0")]
#![warn(missing_docs, missing_doc_code_examples)]
//! [Dhall][dhall] is a programmable configuration language that provides a non-repetitive
//! alternative to JSON and YAML.