diff options
author | Nadrieril | 2020-04-05 19:27:10 +0100 |
---|---|---|
committer | Nadrieril | 2020-04-05 19:35:10 +0100 |
commit | 5a10cd2e8fac854f4f6fa152cfb1b9ad71b0d091 (patch) | |
tree | d7b7a860f08831aa81faee961c0d675440daea32 /serde_dhall | |
parent | 5aea256e3998e6f72dc79b3ea4b935647ecf5cd6 (diff) |
Fix cargo-release substitutions
Diffstat (limited to 'serde_dhall')
-rw-r--r-- | serde_dhall/release.toml | 8 | ||||
-rw-r--r-- | serde_dhall/src/lib.rs | 2 |
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. |