Skip to content

Commit

Permalink
Use published links for binaries table
Browse files Browse the repository at this point in the history
  • Loading branch information
remyroy committed Oct 16, 2024
1 parent 3b587b2 commit 504028f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,10 @@ jobs:
const checksumName = details.binary_checksum;
const checksumUrl = details.binary_checksum_download_url;
binariesTable.push(`| ${system} | ${architecture} | [${binaryName}](${binaryUrl}) | [sha256](${checksumUrl}) |`);
const binaryAssetUrl = `https://github.com/${context.repo.owner}/${context.repo.repo}/releases/download/${tagName}/${binaryName}`;
const checksumAssetUrl = `https://github.com/${context.repo.owner}/${context.repo.repo}/releases/download/${tagName}/${checksumName}`;
binariesTable.push(`| ${system} | ${architecture} | [${binaryName}](${binaryAssetUrl}) | [sha256](${checksumAssetUrl}) |`);
}
});
Expand Down

0 comments on commit 504028f

Please sign in to comment.