Filter kexe files when packaging phoenix binaries

This commit is contained in:
Dominique Padiou 2024-03-21 14:11:10 +01:00
parent 40e9509a13
commit a3840717ea
No known key found for this signature in database
GPG Key ID: 574C8C6A1673E987

View File

@ -155,9 +155,11 @@ kotlin {
archiveClassifier = classifier
from("$projectDir/build/bin/$dir/phoenixdDebugExecutable") {
include("*.kexe")
rename("phoenixd.kexe", "phoenixd")
}
from("$projectDir/build/bin/$dir/phoenix-cliDebugExecutable") {
include("*.kexe")
rename("phoenix-cli.kexe", "phoenix-cli")
}
into("${archiveBaseName.get()}-${archiveVersion.get()}-${archiveClassifier.get()}")