Don't publish .md5 files
This commit is contained in:
parent
235f0c9b28
commit
4dca222938
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ if (version.endsWith("SNAPSHOT")) {
|
|||
def auth = new STSAssumeRoleSessionCredentialsProvider.Builder(AWSRoleARN, "JavaBrigadierPublish").build()
|
||||
def s3 = new AmazonS3Client(auth)
|
||||
publishDir.eachFileRecurse {
|
||||
if (!it.name.contains(".xml") && it.isFile()) {
|
||||
if (!it.name.contains(".xml") && !it.name.contains(".md5") && it.isFile()) {
|
||||
def relPath = publishDir.toPath().relativize(it.toPath()).toFile().toString().replaceAll('\\\\', '/')
|
||||
uploadFile(s3, "minecraft-libraries", relPath, it)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue