From 3f2d8e1c26408589e2df3266a21b0471ed354a8f Mon Sep 17 00:00:00 2001 From: Miles Johnson Date: Sat, 3 Feb 2024 13:00:10 -0800 Subject: [PATCH] docs: Support nested changelogs. --- Cargo.lock | 4 ++-- crates/download/Cargo.toml | 5 +++++ crates/migrate-turborepo/CHANGELOG.md | 2 +- crates/migrate-turborepo/Cargo.toml | 7 ++++++- crates/unpack/CHANGELOG.md | 2 +- crates/unpack/Cargo.toml | 7 ++++++- 6 files changed, 21 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 05b4a15..ae0e6c1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1687,7 +1687,7 @@ dependencies = [ [[package]] name = "moon_migrate_turborepo_extension" -version = "0.0.1" +version = "0.0.0" dependencies = [ "extism-pdk", "moon_common", @@ -1755,7 +1755,7 @@ dependencies = [ [[package]] name = "moon_unpack_extension" -version = "0.0.1" +version = "0.0.0" dependencies = [ "extism-pdk", "moon_extension_common", diff --git a/crates/download/Cargo.toml b/crates/download/Cargo.toml index 07a34ed..03016a3 100644 --- a/crates/download/Cargo.toml +++ b/crates/download/Cargo.toml @@ -8,6 +8,11 @@ publish = false [lib] crate-type = ['cdylib'] +[package.metadata.release] +pre-release-replacements = [ + { file = "./CHANGELOG.md", search = "Unreleased", replace = "{{version}}" }, +] + [dependencies] moon_extension_common = { path = "../common" } extism-pdk = { workspace = true } diff --git a/crates/migrate-turborepo/CHANGELOG.md b/crates/migrate-turborepo/CHANGELOG.md index 7b0f5ee..c452364 100644 --- a/crates/migrate-turborepo/CHANGELOG.md +++ b/crates/migrate-turborepo/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.0.1 +## Unreleased #### 🚀 Updates diff --git a/crates/migrate-turborepo/Cargo.toml b/crates/migrate-turborepo/Cargo.toml index 32e5726..aaf0ea3 100644 --- a/crates/migrate-turborepo/Cargo.toml +++ b/crates/migrate-turborepo/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "moon_migrate_turborepo_extension" -version = "0.0.1" +version = "0.0.0" edition = "2021" license = "MIT" publish = false @@ -8,6 +8,11 @@ publish = false [lib] crate-type = ['cdylib'] +[package.metadata.release] +pre-release-replacements = [ + { file = "./CHANGELOG.md", search = "Unreleased", replace = "{{version}}" }, +] + [dependencies] moon_extension_common = { path = "../common" } extism-pdk = { workspace = true } diff --git a/crates/unpack/CHANGELOG.md b/crates/unpack/CHANGELOG.md index 1fa16cb..c5a858c 100644 --- a/crates/unpack/CHANGELOG.md +++ b/crates/unpack/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.1.0 +## Unreleased #### 🚀 Updates diff --git a/crates/unpack/Cargo.toml b/crates/unpack/Cargo.toml index 62955fd..c19dcd1 100644 --- a/crates/unpack/Cargo.toml +++ b/crates/unpack/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "moon_unpack_extension" -version = "0.0.1" +version = "0.0.0" edition = "2021" license = "MIT" publish = false @@ -8,6 +8,11 @@ publish = false [lib] crate-type = ['cdylib'] +[package.metadata.release] +pre-release-replacements = [ + { file = "./CHANGELOG.md", search = "Unreleased", replace = "{{version}}" }, +] + [dependencies] moon_extension_common = { path = "../common" } extism-pdk = { workspace = true }