Skip to content

Commit

Permalink
Don't publish .md5 files
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinnerbone authored and grum committed Jul 24, 2018
1 parent 235f0c9 commit 4dca222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 4dca222

Please sign in to comment.