diff --git a/tools/github/github-utils.ts b/tools/github/github-utils.ts index 0bba9237..970952a0 100644 --- a/tools/github/github-utils.ts +++ b/tools/github/github-utils.ts @@ -7,7 +7,7 @@ type Commits = Await>["da export function getCompareLink(packageName: string, previousTag: string, newTag: string) { const previousPackage = execSync( - `git show ${previousTag}:../Cargo.lock | grep ${packageName}? | head -1 | grep -o '".*"'` + `git show ${previousTag}:../operator/Cargo.lock | grep ${packageName}? | head -1 | grep -o '".*"'` ).toString(); const previousCommit = /#([0-9a-f]*)/g.exec(previousPackage)[1].slice(0, 8); const previousRepo = /(https:\/\/.*)\?/g.exec(previousPackage)[1];