Skip to content

Commit

Permalink
capture wildcard source bundles
Browse files Browse the repository at this point in the history
Signed-off-by: MarkAckert <[email protected]>
  • Loading branch information
MarkAckert committed Oct 2, 2024
1 parent 6f3743d commit d12e7a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/prepare-upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ if (fs.existsSync(uploadSpecFile)) {
}
uploadSpecJson.files.push({ pattern: sourcePath, target: targetPath });

// check for an associated sigstore signature
if (fs.existsSync(`${sourcePath}.bundle`)) {
// check for an associated sigstore signature, in case of wildcard let jfrog cli find it
if (fs.existsSync(`${sourcePath}.bundle`) || sourcePath.includes('*')) {
uploadSpecJson.files.push({ pattern: `${sourcePath}.bundle`, target: targetPath})
}

Expand Down

0 comments on commit d12e7a7

Please sign in to comment.