From 087b55ca0a64531017c50043d8025356df8562a7 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Thu, 11 Mar 2021 14:33:37 +0100 Subject: [PATCH] Fix build artifacts move 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. --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 6a24b03..ac33b89 100644 --- a/main.js +++ b/main.js @@ -172,7 +172,7 @@ async function main() { "find", buildDirectory, "-maxdepth", "1", - "-name", `${pkg}*${version}*.*`, + "-name", `*${version}*.*`, "-type", "f", "-print", "-exec", "mv", "{}", artifactsDirectory, ";"