Permalink
Browse files

Fix issue with uploading archive twice instead of SHA file.

  • Loading branch information...
1 parent 66621ab commit 6d0f66a6f0c273941ccbe6e12fb9aa56521a1ab0 @tekul committed Apr 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/groovy/org/springframework/gradle/tasks/S3DistroUpload.groovy
@@ -77,7 +77,7 @@ class S3DistroUpload extends DefaultTask {
shaDest.setContentLength(shaFile.length())
logger.info("Uploading SHA checksum " + shaFile.getName() + " to " + key + '.sha1' + "...")
- s3.putObject(bucket, archiveDest);
+ s3.putObject(bucket, shaDest);
logger.info("Done")
}

0 comments on commit 6d0f66a

Please sign in to comment.