From 4a508d63b547c4092be9db32ae3905d5227bc338 Mon Sep 17 00:00:00 2001 From: Jane Losare-Lusby Date: Fri, 17 Nov 2023 09:00:18 -0800 Subject: [PATCH] manually apply cargo-release substitutions and also prep color-spantrace for publish --- color-spantrace/CHANGELOG.md | 7 ++++++- color-spantrace/Cargo.toml | 38 ++---------------------------------- color-spantrace/src/lib.rs | 2 +- eyre/CHANGELOG.md | 5 ++++- eyre/Cargo.toml | 37 ++--------------------------------- eyre/src/lib.rs | 2 +- 6 files changed, 16 insertions(+), 75 deletions(-) diff --git a/color-spantrace/CHANGELOG.md b/color-spantrace/CHANGELOG.md index 3014914..1d3bcb0 100644 --- a/color-spantrace/CHANGELOG.md +++ b/color-spantrace/CHANGELOG.md @@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] - ReleaseDate +## [0.2.1] - 2023-11-17 +### Fixed +- Add license files [by erickt](https://github.com/eyre-rs/color-spantrace/pull/19) + ## [0.2.0] - 2022-01-12 ### Changed - Updated dependency versions to match latest tracing versions @@ -22,7 +26,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Support custom color themes for spantrace format -[Unreleased]: https://github.com/eyre-rs/color-spantrace/compare/v0.2.0...HEAD +[Unreleased]: https://github.com/eyre-rs/color-spantrace/compare/v0.2.1...HEAD +[0.2.1]: https://github.com/eyre-rs/color-spantrace/compare/v0.2.0...v0.2.1 [0.2.0]: https://github.com/eyre-rs/color-spantrace/compare/v0.1.6...v0.2.0 [0.1.6]: https://github.com/eyre-rs/color-spantrace/compare/v0.1.5...v0.1.6 [v0.1.5]: https://github.com/eyre-rs/color-spantrace/releases/tag/v0.1.5 diff --git a/color-spantrace/Cargo.toml b/color-spantrace/Cargo.toml index e1510d8..d71da5e 100644 --- a/color-spantrace/Cargo.toml +++ b/color-spantrace/Cargo.toml @@ -26,39 +26,5 @@ ansi-parser = "0.8" # used for testing color schemes all-features = true rustdoc-args = ["--cfg", "docsrs"] -[package.metadata.release] -dev-version = false - -[[package.metadata.release.pre-release-replacements]] -file = "CHANGELOG.md" -search = "Unreleased" -replace="{{version}}" - -[[package.metadata.release.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 - -[[package.metadata.release.pre-release-replacements]] -file = "CHANGELOG.md" -search = "\\.\\.\\.HEAD" -replace="...{{tag_name}}" -exactly = 1 - -[[package.metadata.release.pre-release-replacements]] -file = "CHANGELOG.md" -search = "ReleaseDate" -replace="{{date}}" - -[[package.metadata.release.pre-release-replacements]] -file="CHANGELOG.md" -search="" -replace="\n\n## [Unreleased] - ReleaseDate" -exactly=1 - -[[package.metadata.release.pre-release-replacements]] -file="CHANGELOG.md" -search="" -replace="\n[Unreleased]: https://github.com/eyre-rs/{{crate_name}}/compare/{{tag_name}}...HEAD" -exactly=1 +[package.metadata.workspaces] +independent = true diff --git a/color-spantrace/src/lib.rs b/color-spantrace/src/lib.rs index 80a0cee..9b7b172 100644 --- a/color-spantrace/src/lib.rs +++ b/color-spantrace/src/lib.rs @@ -59,7 +59,7 @@ //! //! [`tracing_error::SpanTrace`]: https://docs.rs/tracing-error/*/tracing_error/struct.SpanTrace.html //! [`color-backtrace`]: https://github.com/athre0z/color-backtrace -#![doc(html_root_url = "https://docs.rs/color-spantrace/0.2.0")] +#![doc(html_root_url = "https://docs.rs/color-spantrace/0.2.1")] #![cfg_attr( nightly_features, feature(rustdoc_missing_doc_code_examples), diff --git a/eyre/CHANGELOG.md b/eyre/CHANGELOG.md index 27d2163..84f809a 100644 --- a/eyre/CHANGELOG.md +++ b/eyre/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] - ReleaseDate + +## [0.6.9] - 2023-11-17 ### Fixed - Fix stacked borrows when dropping [by TimDiekmann](https://github.com/eyre-rs/eyre/pull/81) - Fix miri validation errors through now stricter provenance [by ten3roberts](https://github.com/eyre-rs/eyre/pull/103) @@ -50,7 +52,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 -[Unreleased]: https://github.com/eyre-rs/eyre/compare/v0.6.8...HEAD +[Unreleased]: https://github.com/eyre-rs/eyre/compare/v0.6.9...HEAD +[0.6.9]: https://github.com/eyre-rs/eyre/compare/v0.6.8...v0.6.9 [0.6.8]: https://github.com/eyre-rs/eyre/compare/v0.6.7...v0.6.8 [0.6.7]: https://github.com/eyre-rs/eyre/compare/v0.6.6...v0.6.7 [0.6.6]: https://github.com/eyre-rs/eyre/compare/v0.6.5...v0.6.6 diff --git a/eyre/Cargo.toml b/eyre/Cargo.toml index 982d9b2..0e58435 100644 --- a/eyre/Cargo.toml +++ b/eyre/Cargo.toml @@ -36,39 +36,6 @@ pyo3 = { version = "0.20", default-features = false, features = ["auto-initializ targets = ["x86_64-unknown-linux-gnu"] rustdoc-args = ["--cfg", "doc_cfg"] -[package.metadata.release] -dev-version = false +[package.metadata.workspaces] +independent = true -[[package.metadata.release.pre-release-replacements]] -file = "CHANGELOG.md" -search = "Unreleased" -replace = "{{version}}" - -[[package.metadata.release.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 - -[[package.metadata.release.pre-release-replacements]] -file = "CHANGELOG.md" -search = "\\.\\.\\.HEAD" -replace = "...{{tag_name}}" -exactly = 1 - -[[package.metadata.release.pre-release-replacements]] -file = "CHANGELOG.md" -search = "ReleaseDate" -replace = "{{date}}" - -[[package.metadata.release.pre-release-replacements]] -file = "CHANGELOG.md" -search = "" -replace = "\n\n## [Unreleased] - ReleaseDate" -exactly = 1 - -[[package.metadata.release.pre-release-replacements]] -file = "CHANGELOG.md" -search = "" -replace = "\n[Unreleased]: https://github.com/eyre-rs/{{crate_name}}/compare/{{tag_name}}...HEAD" -exactly = 1 diff --git a/eyre/src/lib.rs b/eyre/src/lib.rs index 39d4316..ef6fa6f 100644 --- a/eyre/src/lib.rs +++ b/eyre/src/lib.rs @@ -314,7 +314,7 @@ //! [`simple-eyre`]: https://github.com/eyre-rs/simple-eyre //! [`color-spantrace`]: https://github.com/eyre-rs/color-spantrace //! [`color-backtrace`]: https://github.com/athre0z/color-backtrace -#![doc(html_root_url = "https://docs.rs/eyre/0.6.8")] +#![doc(html_root_url = "https://docs.rs/eyre/0.6.9")] #![cfg_attr( nightly_features, feature(rustdoc_missing_doc_code_examples),