Repository: reef Updated Branches: refs/heads/master ac49176e1 -> c3b350fa1
[REEF-1867] Generate .sha512 instead of .sha512.txt in the release script JIRA: [REEF-1867](https://issues.apache.org/jira/browse/REEF-1867) Closes #1367 Project: http://git-wip-us.apache.org/repos/asf/reef/repo Commit: http://git-wip-us.apache.org/repos/asf/reef/commit/c3b350fa Tree: http://git-wip-us.apache.org/repos/asf/reef/tree/c3b350fa Diff: http://git-wip-us.apache.org/repos/asf/reef/diff/c3b350fa Branch: refs/heads/master Commit: c3b350fa1eb414eef43e290bba0541ad12e6ab00 Parents: ac49176 Author: taegeonum <[email protected]> Authored: Thu Aug 17 13:51:01 2017 +0900 Committer: Gyewon Lee <[email protected]> Committed: Thu Aug 17 22:00:11 2017 +0900 ---------------------------------------------------------------------- dev/release.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/reef/blob/c3b350fa/dev/release.py ---------------------------------------------------------------------- diff --git a/dev/release.py b/dev/release.py index f336b1a..0ec3e06 100644 --- a/dev/release.py +++ b/dev/release.py @@ -74,7 +74,7 @@ def get_mail_text(reef_version, rc_num): md5 = open(file_name + ".md5").read().split(" ")[0] return_str += "MD5: " + md5 + "\n" - sha = open(file_name + ".sha512.txt").read().split(" ")[0] + sha = open(file_name + ".sha512").read().split(" ")[0] return_str += "SHA: " + sha + "\n" return_str += "\nRelease artifacts are signed with a key found in the KEYS file available here:\n" @@ -138,7 +138,7 @@ if __name__ == "__main__": md5_file = open(file_name + ".md5", "w") md5_file.write(md5 + " *" + file_name + "\n") - sha_file = open(file_name + ".sha512.txt", "w") + sha_file = open(file_name + ".sha512", "w") sha_file.write(sha + " *" + file_name + "\n") md5_file.close() sha_file.close()
