You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by lu...@apache.org on 2010/12/14 00:26:43 UTC
svn commit: r1045419 - /incubator/deltacloud/trunk/Rakefile
Author: lutter
Date: Mon Dec 13 23:26:43 2010
New Revision: 1045419
URL: http://svn.apache.org/viewvc?rev=1045419&view=rev
Log:
Rakefile (release): small tweaks
* produce ASCII-armored signatures
* generate MD5 and SHA1 hash files
Modified:
incubator/deltacloud/trunk/Rakefile
Modified: incubator/deltacloud/trunk/Rakefile
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/Rakefile?rev=1045419&r1=1045418&r2=1045419&view=diff
==============================================================================
--- incubator/deltacloud/trunk/Rakefile (original)
+++ incubator/deltacloud/trunk/Rakefile Mon Dec 13 23:26:43 2010
@@ -45,11 +45,13 @@ task :release => [ :package ] do
dst = File::join("release", File::basename(src))
FileUtils.cp(src, dst)
cmd = <<EOS
-gpg -q --batch --verify #{dst}.sig > /dev/null 2>&1 || \
- gpg --output #{dst}.sig --detach-sig #{dst}
+gpg -q --batch --verify #{dst}.asc > /dev/null 2>&1 || \
+ gpg --output #{dst}.asc --armour --detach-sig #{dst}
EOS
system(cmd)
end
+ system("md5sum #{files.join(" ")} > release/MD5SUM")
+ system("sha1sum #{files.join(" ")} > release/SHA1SUM")
end
desc "Remove the release directory"