From 255ebcb7ef8a01bb8fb92d0023e54474f5490373 Mon Sep 17 00:00:00 2001 From: Amr Bashir Date: Thu, 15 Sep 2022 16:27:38 +0200 Subject: [PATCH] refactor: upload schema to tauri-build release instead of cli (#5197) --- .changes/config.json | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.changes/config.json b/.changes/config.json index ccff92676..0c1a1c035 100644 --- a/.changes/config.json +++ b/.changes/config.json @@ -209,7 +209,13 @@ "path": "./core/tauri-build", "manager": "rust", "dependencies": ["tauri-codegen", "tauri-utils"], - "postversion": "node ../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }" + "postversion": "node ../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }", + "assets": [ + { + "path": "./tooling/cli/schema.json", + "name": "schema.json" + } + ] }, "tauri": { "path": "./core/tauri", @@ -240,10 +246,6 @@ { "path": "${ pkg.path }/target/package/tauri-cli-${ pkgFile.version }.crate", "name": "${ pkg.pkg }-${ pkgFile.version }.crate" - }, - { - "path": "${ pkg.path }/schema.json", - "name": "schema.json" } ] },