mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-23 17:28:23 +00:00
fix: Fix Publish Draft Binary gh action (#186)
This commit is contained in:
parent
af61ef685c
commit
c8787ddb7c
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ type Commits = Await<ReturnType<Octokit["rest"]["repos"]["compareCommits"]>>["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];
|
||||
|
|
|
|||
Loading…
Reference in a new issue