Skip to content

Commit

Permalink
Fix build artifacts move
Browse files Browse the repository at this point in the history
As you can build multiple binary packages from one source package, those
don't need to have the same name. You can even build only one binary
package which has a completely different name.
The saves way is to match on the package version number.
  • Loading branch information
waja committed Mar 11, 2021
1 parent d9aa273 commit 087b55c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ async function main() {
"find",
buildDirectory,
"-maxdepth", "1",
"-name", `${pkg}*${version}*.*`,
"-name", `*${version}*.*`,
"-type", "f",
"-print",
"-exec", "mv", "{}", artifactsDirectory, ";"
Expand Down

0 comments on commit 087b55c

Please sign in to comment.