Skip to content

Commit 18eaa9d

Browse files
committed
fix: add missing Paths command arm and per-package release tag for localgpt-gen
The published localgpt v0.2.0 added a Commands::Paths variant that localgpt-gen didn't handle, breaking crates.io verification. Also set a per-package tag-name to avoid conflicts with the shared workspace tag.
1 parent 43463bc commit 18eaa9d

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

gen/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ categories = ["command-line-utilities", "graphics"]
1111

1212
[package.metadata.release]
1313
dependent-version = "upgrade"
14+
tag-name = "{{crate_name}}-v{{version}}"
1415

1516
[dependencies]
1617
localgpt = { version = "0.2", path = "..", features = ["gen"] }

gen/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,6 @@ async fn async_main(cli: Cli) -> Result<()> {
7070
Commands::Config(args) => localgpt::cli::config::run(args).await,
7171
Commands::Md(args) => localgpt::cli::md::run(args).await,
7272
Commands::Sandbox(args) => localgpt::cli::sandbox::run(args).await,
73+
Commands::Paths => localgpt::cli::paths::run(),
7374
}
7475
}

0 commit comments

Comments
 (0)