refactor: upload schema to tauri-build release instead of cli (#5197)

This commit is contained in:
Amr Bashir
2022-09-15 16:27:38 +02:00
committed by GitHub
parent 447370fa50
commit 255ebcb7ef

View File

@@ -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"
}
]
},