You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ji...@apache.org on 2016/04/25 17:35:24 UTC

[6/7] incubator-geode git commit: GEODE-1271: Correcting file format and extension for sha256, md5 files

GEODE-1271: Correcting file format and extension for sha256, md5 files

The .sha-256 files are now sha256. The format of the file is now
CHECKUM *filename

Which matches what is expected by sha256sum -c and md5sum -c


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/3c5a2e85
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/3c5a2e85
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/3c5a2e85

Branch: refs/heads/feature/GEODE-17-2
Commit: 3c5a2e85a0c23b3733c1721ee0ea7286a7b4fd3f
Parents: 0d184b6
Author: Dan Smith <up...@apache.org>
Authored: Fri Apr 22 15:22:07 2016 -0700
Committer: Dan Smith <up...@apache.org>
Committed: Fri Apr 22 15:33:56 2016 -0700

----------------------------------------------------------------------
 geode-assembly/build.gradle | 4 ++--
 gradle/publish.gradle       | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/3c5a2e85/geode-assembly/build.gradle
----------------------------------------------------------------------
diff --git a/geode-assembly/build.gradle b/geode-assembly/build.gradle
index b7d05e2..e849b51 100755
--- a/geode-assembly/build.gradle
+++ b/geode-assembly/build.gradle
@@ -231,8 +231,8 @@ gradle.taskGraph.whenReady( { graph ->
     it.name.toLowerCase().contains("dist")
   }.each { archive ->
     archive.doLast {
-      ant.checksum file:"${archive.archivePath}", algorithm:"md5"
-      ant.checksum file:"${archive.archivePath}", algorithm:"sha-256"
+      ant.checksum file:"${archive.archivePath}", algorithm:"md5", format: 'MD5SUM'
+      ant.checksum file:"${archive.archivePath}", algorithm:"sha-256", format: 'MD5SUM', fileext: '.sha256'
     }
   }
 })

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/3c5a2e85/gradle/publish.gradle
----------------------------------------------------------------------
diff --git a/gradle/publish.gradle b/gradle/publish.gradle
index 9c251c7..768fce4 100644
--- a/gradle/publish.gradle
+++ b/gradle/publish.gradle
@@ -127,7 +127,7 @@ gradle.taskGraph.whenReady { taskGraph ->
     if(taskGraph.allTasks.any {it instanceof Sign}) {
       if(!project.hasProperty('signing.keyId') || !project.hasProperty('signing.secretKeyRingFile')) {
         println "You must configure your signing.keyId and signing.secretKeyRingFile"
-        println "in ~/gradle/.properties in order to sign jars\n"
+        println "in ~/.gradle/gradle.properties in order to sign jars\n"
         println "See https://cwiki.apache.org/confluence/display/GEODE/Release+Steps"
         throw new GradleException("Signing key/keyring is missing")
       }
@@ -141,7 +141,7 @@ gradle.taskGraph.whenReady { taskGraph ->
 
     if(taskGraph.allTasks.any {it.name == 'uploadArchives'}) {
       if(!project.hasProperty('nexusUsername')) {
-        println "You must configure your nexusUsername in ~/gradle/.properties in order to uploadArchives\n"
+        println "You must configure your nexusUsername in ~/.gradle/gradle.properties in order to uploadArchives\n"
         println "See https://cwiki.apache.org/confluence/display/GEODE/Release+Steps"
         throw new GradleException("nexusUsername is missing")
       }