forked from waja/action-debian-package
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.
This commit is contained in:
parent
d9aa273ced
commit
087b55ca0a
2
main.js
2
main.js
|
@ -172,7 +172,7 @@ async function main() {
|
||||||
"find",
|
"find",
|
||||||
buildDirectory,
|
buildDirectory,
|
||||||
"-maxdepth", "1",
|
"-maxdepth", "1",
|
||||||
"-name", `${pkg}*${version}*.*`,
|
"-name", `*${version}*.*`,
|
||||||
"-type", "f",
|
"-type", "f",
|
||||||
"-print",
|
"-print",
|
||||||
"-exec", "mv", "{}", artifactsDirectory, ";"
|
"-exec", "mv", "{}", artifactsDirectory, ";"
|
||||||
|
|
Loading…
Reference in a new issue