Browse Source

chore: covector should use pkg name, not nickname (#1487)

This fixes the check for tauri-cli which is nicknamed cli.rs.
Jacob Bolda 4 years ago
parent
commit
67eab36b2f
2 changed files with 3 additions and 3 deletions
  1. 1 1
      .changes/config.json
  2. 2 2
      package.json

+ 1 - 1
.changes/config.json

@@ -4,7 +4,7 @@
   "pkgManagers": {
     "rust": {
       "version": true,
-      "getPublishedVersion": "cargo search ${ pkg.pkg } --limit 1 | sed -nE 's/^[^\"]*\"//; s/\".*//1p' -",
+      "getPublishedVersion": "cargo search ${ pkgFile.pkg.package.name } --limit 1 | sed -nE 's/^[^\"]*\"//; s/\".*//1p' -",
       "prepublish": [
         "sudo apt-get update",
         "sudo apt-get install -y webkit2gtk-4.0",

+ 2 - 2
package.json

@@ -13,8 +13,8 @@
     "postinstall": "husky install"
   },
   "devDependencies": {
-    "covector": "^0.2.6",
+    "covector": "^0.5.3",
     "husky": "^5.1.3",
     "prettier": "^2.0.5"
   }
-}
+}