summaryrefslogtreecommitdiff
path: root/release.toml
diff options
context:
space:
mode:
Diffstat (limited to 'release.toml')
-rw-r--r--release.toml10
1 files changed, 10 insertions, 0 deletions
diff --git a/release.toml b/release.toml
new file mode 100644
index 0000000..eef7d2a
--- /dev/null
+++ b/release.toml
@@ -0,0 +1,10 @@
+disable-push = true
+disable-publish = true
+no-dev-version = true
+pre-release-commit-message = "Release {{crate_name}} version {{version}}"
+
+[[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