Browse Source

chore(changes): adjust config-schema build scripts

Lucas Nogueira 2 years ago
parent
commit
d8b996c00a
1 changed files with 9 additions and 3 deletions
  1. 9 3
      .changes/config.json

+ 9 - 3
.changes/config.json

@@ -209,7 +209,10 @@
       "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 }",
+        "cargo build --manifest-path ../config-schema/Cargo.toml"
+      ],
       "assets": [
         {
           "path": "./tooling/cli/schema.json",
@@ -234,7 +237,7 @@
       "dependencies": ["cli.rs"],
       "postversion": [
         "node ../../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
-        "cargo build --manifest-path ../../core/config-schema/Cargo.toml"
+        "cargo build --manifest-path ../../../core/config-schema/Cargo.toml"
       ],
       "prepublish": [],
       "publish": [],
@@ -244,7 +247,10 @@
       "path": "./tooling/cli",
       "manager": "rust",
       "dependencies": ["tauri-bundler", "tauri-utils"],
-      "postversion": "cargo check",
+      "postversion": [
+        "cargo check",
+        "cargo build --manifest-path ../../core/config-schema/Cargo.toml"
+      ],
       "assets": [
         {
           "path": "${ pkg.path }/target/package/tauri-cli-${ pkgFile.version }.crate",