From 67eab36b2f5b3f9887f0d31014c6954a66afcbcf Mon Sep 17 00:00:00 2001 From: Jacob Bolda Date: Wed, 14 Apr 2021 14:21:54 -0500 Subject: [PATCH] chore: covector should use pkg name, not nickname (#1487) This fixes the check for tauri-cli which is nicknamed cli.rs. --- .changes/config.json | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.changes/config.json b/.changes/config.json index 55c324b6a..28c73df0c 100644 --- a/.changes/config.json +++ b/.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", diff --git a/package.json b/package.json index ddf36400a..a681d302c 100644 --- a/package.json +++ b/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" } -} \ No newline at end of file +}