mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
No Check do Check (#7942)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
This commit is contained in:
@@ -327,7 +327,6 @@ prepare-release version:
|
||||
ui/desktop/pnpm-lock.yaml \
|
||||
ui/desktop/openapi.json \
|
||||
crates/goose/src/providers/canonical/data/canonical_models.json \
|
||||
crates/goose/src/providers/canonical/data/canonical_mapping_report.json \
|
||||
crates/goose/src/providers/canonical/data/provider_metadata.json
|
||||
@git commit --message "chore(release): release version {{ version }}"
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ fn normalize_provider_name(provider: &str) -> &str {
|
||||
struct Args {
|
||||
/// Skip the canonical model checker (only build models)
|
||||
#[arg(long)]
|
||||
no_check: bool,
|
||||
do_check: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Hash)]
|
||||
@@ -660,7 +660,7 @@ async fn main() -> Result<()> {
|
||||
|
||||
build_canonical_models().await?;
|
||||
|
||||
if !args.no_check {
|
||||
if args.do_check {
|
||||
check_canonical_mappings().await?;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user