Disable md5 hash for releases, since Apache release policy has changed
Project: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/commit/2d8a12a5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/tree/2d8a12a5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/diff/2d8a12a5 Branch: refs/heads/master Commit: 2d8a12a5e6bfb41549b8b9795d8206d0fd001dd6 Parents: 702b839 Author: Abhishek Tiwari <[email protected]> Authored: Mon Jul 2 22:54:54 2018 +0530 Committer: Abhishek Tiwari <[email protected]> Committed: Mon Jul 2 22:54:54 2018 +0530 ---------------------------------------------------------------------- gobblin-distribution/build.gradle | 3 ++- gradle/scripts/release.gradle | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/2d8a12a5/gobblin-distribution/build.gradle ---------------------------------------------------------------------- diff --git a/gobblin-distribution/build.gradle b/gobblin-distribution/build.gradle index 6354e7d..3e548ad 100644 --- a/gobblin-distribution/build.gradle +++ b/gobblin-distribution/build.gradle @@ -74,7 +74,8 @@ task buildDistributionTar(type: Tar, overwrite: true) { into project.rootDir.path archiveName = "${baseName}-${project.version}.tar.gz" - ant.checksum file:"$buildDir.path/distributions/$archiveName", algorithm: "MD5", fileext: ".md5" + // Disable md5, since Apache release policy has changed + // ant.checksum file:"$buildDir.path/distributions/$archiveName", algorithm: "MD5", fileext: ".md5" ant.checksum file:"$buildDir.path/distributions/$archiveName", algorithm: "SHA-512", fileext: ".sha512" } } http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/2d8a12a5/gradle/scripts/release.gradle ---------------------------------------------------------------------- diff --git a/gradle/scripts/release.gradle b/gradle/scripts/release.gradle index 6598fad..f15a980 100644 --- a/gradle/scripts/release.gradle +++ b/gradle/scripts/release.gradle @@ -124,7 +124,8 @@ task sourceRelease(type: Tar, dependsOn: prepare_release_config) { archiveName = "${baseName}.tgz" doLast { - ant.checksum file:"$destinationDir/$archiveName", algorithm: "MD5", fileext: ".md5" + // Disable md5, since Apache release policy has changed + // ant.checksum file:"$destinationDir/$archiveName", algorithm: "MD5", fileext: ".md5" ant.checksum file:"$destinationDir/$archiveName", algorithm: "SHA-512", fileext: ".sha512" } }
