Filtered on artifacts a bit cleaner...

This commit is contained in:
Rob Greene 2018-03-10 00:34:25 -06:00
parent c5a69c0673
commit 7e6f82a933

View File

@ -159,7 +159,7 @@ uploadArchives {
mavenDeployer {
addFilter('AppleCommander') { artifact, file ->
// Note that the other executables all have suffixes which change their name.
return artifact.name == 'AppleCommander' && artifact.ext == 'jar'
return artifact.name == 'AppleCommander' && artifact.ext != 'zip' && artifact.ext != 'tar'
}
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }