diff --git a/clap_derive/Cargo.toml b/clap_derive/Cargo.toml index b1d0c0a9..aa7cfad3 100644 --- a/clap_derive/Cargo.toml +++ b/clap_derive/Cargo.toml @@ -25,6 +25,9 @@ readme = "README.md" [package.metadata.release] shared-version = true tag-name = "v{{version}}" +pre-release-replacements = [ + {file="README.md", search="github.com/clap-rs/clap/blob/[^/]+/", replace="github.com/clap-rs/clap/blob/{{tag_name}}/", exactly=2, prerelease = true}, +] [lib] proc-macro = true diff --git a/clap_derive/README.md b/clap_derive/README.md index 7d6411fe..41e9cfd8 100644 --- a/clap_derive/README.md +++ b/clap_derive/README.md @@ -2,7 +2,9 @@ Macro implementation for clap's derives. -See [docs.rs](https://docs.rs/clap). +[docs.rs](https://docs.rs/clap) +- [Derive Tutorial](https://github.com/clap-rs/clap/blob/v3.0.10/examples/tutorial_derive/README.md) +- [Derive Reference](https://github.com/clap-rs/clap/blob/v3.0.10/examples/derive_ref/README.md) ## License