gradle-semantic-release-plugin
gradle-semantic-release-plugin copied to clipboard
Semantic release ignores archiveBaseName / archiveFileName?
Thanks for the plugin!
One slight issue, semantic release seemingly ignores the Jar file's specification for archiveBaseName
& archiveFileName
.
jar specification:
jar {
zip64 = true
manifest {
attributes(
'Main-Class': 'MainClass.Here'
)
}
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }}
from sourceSets.test.output
archiveBaseName = 'filename'
archiveFileName = 'filename.jar'
exclude 'file'
}
semanticRelease configuration
project.ext.ghToken = System.getenv('GH_TOKEN')
semanticRelease {
releaseBranches {
include 'release'
}
repo {
releaseAsset jar
ghToken = project.ghToken
}
}
Error:
path/to/dir/filename-1.1.0.jar (No such file or directory)
Can you please attach the Stacktrace by starting gradle with an additional -s
parameter.