fix: run metadata sync script explicitly with node (#1536)

This commit is contained in:
Jacob Bolda 2021-04-19 09:48:02 -05:00 committed by GitHub
parent 1f64927362
commit 635140b27a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -226,19 +226,19 @@
"path": "./core/tauri-build",
"manager": "rust",
"dependencies": ["tauri-codegen"],
"postversion": "../../.scripts/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }"
"postversion": "node ../../.scripts/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }"
},
"tauri": {
"path": "./core/tauri",
"manager": "rust",
"dependencies": ["api", "tauri-macros", "tauri-utils"],
"postversion": "../../.scripts/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }"
"postversion": "node ../../.scripts/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }"
},
"cli.js": {
"path": "./tooling/cli.js",
"manager": "javascript",
"dependencies": ["cli.rs"],
"postversion": "../../.scripts/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
"postversion": "node ../../.scripts/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
"assets": [
{
"path": "./tooling/cli.js/tauri-apps-cli-${ pkgFile.version }.tgz",