Regenerate canonical models when release branch is created. (#6127)

This commit is contained in:
David Katz 2025-12-18 11:44:01 -05:00 committed by GitHub
parent f98ef3c0b5
commit 473f269daa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 2066 additions and 2072 deletions

View file

@ -301,7 +301,15 @@ prepare-release version:
# used to update Cargo.lock after we've bumped versions in Cargo.toml
@cargo update --workspace
@just set-openapi-version {{ version }}
@git add Cargo.toml Cargo.lock ui/desktop/package.json ui/desktop/package-lock.json ui/desktop/openapi.json
@cargo run --bin build_canonical_models
@git add \
Cargo.toml \
Cargo.lock \
ui/desktop/package.json \
ui/desktop/package-lock.json \
ui/desktop/openapi.json \
crates/goose/src/providers/canonical/data/canonical_models.json \
crates/goose/src/providers/canonical/data/canonical_mapping_report.json
@git commit --message "chore(release): release version {{ version }}"
set-openapi-version version: