You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by so...@apache.org on 2017/10/03 12:37:28 UTC

[2/5] wicket git commit: WICKET-6074 Use SHA 256+ for signing the release artefacts

WICKET-6074 Use SHA 256+ for signing the release artefacts


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/49df0e59
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/49df0e59
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/49df0e59

Branch: refs/heads/WICKET-6105-java.time
Commit: 49df0e591db940ba86ccdd0830df0a814da9b6cc
Parents: 35a7d6d
Author: Andrea Del Bene <ad...@apache.org>
Authored: Thu Sep 28 15:04:43 2017 +0200
Committer: Andrea Del Bene <ad...@apache.org>
Committed: Thu Sep 28 15:04:43 2017 +0200

----------------------------------------------------------------------
 release.sh | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/49df0e59/release.sh
----------------------------------------------------------------------
diff --git a/release.sh b/release.sh
index 2eb352a..b344d29 100755
--- a/release.sh
+++ b/release.sh
@@ -530,10 +530,8 @@ git archive --format=tar.gz --prefix=apache-wicket-$version/ -o target/dist/apac
 git archive --format=zip --prefix=apache-wicket-$version/ -o target/dist/apache-wicket-$version.zip $tag
 gpg --armor --detach-sign --use-agent --sign target/dist/apache-wicket-$version.tar.gz
 gpg --armor --detach-sign --use-agent --sign target/dist/apache-wicket-$version.zip
-gpg --print-md SHA1 target/dist/apache-wicket-$version.tar.gz > target/dist/apache-wicket-$version.tar.gz.sha
-gpg --print-md MD5  target/dist/apache-wicket-$version.tar.gz > target/dist/apache-wicket-$version.tar.gz.md5
-gpg --print-md SHA1 target/dist/apache-wicket-$version.zip > target/dist/apache-wicket-$version.zip.sha
-gpg --print-md MD5  target/dist/apache-wicket-$version.zip > target/dist/apache-wicket-$version.zip.md5
+sha256sum target/dist/apache-wicket-$version.tar.gz > target/dist/apache-wicket-$version.tar.gz.sha256
+sha256sum target/dist/apache-wicket-$version.zip > target/dist/apache-wicket-$version.zip.sha256
 
 echo "Create and sign the binaries"
 mkdir target/apache-wicket-$version-bin
@@ -552,10 +550,8 @@ tar cfz dist/binaries/apache-wicket-$version-bin.tar.gz apache-wicket-$version-b
 zip -r dist/binaries/apache-wicket-$version-bin.zip apache-wicket-$version-bin
 gpg --armor --detach-sign --use-agent --sign dist/binaries/apache-wicket-$version-bin.tar.gz
 gpg --armor --detach-sign --use-agent --sign dist/binaries/apache-wicket-$version-bin.zip
-gpg --print-md SHA1 dist/binaries/apache-wicket-$version-bin.tar.gz > dist/binaries/apache-wicket-$version-bin.tar.gz.sha
-gpg --print-md MD5  dist/binaries/apache-wicket-$version-bin.tar.gz > dist/binaries/apache-wicket-$version-bin.tar.gz.md5
-gpg --print-md SHA1 dist/binaries/apache-wicket-$version-bin.zip > dist/binaries/apache-wicket-$version-bin.zip.sha
-gpg --print-md MD5  dist/binaries/apache-wicket-$version-bin.zip > dist/binaries/apache-wicket-$version-bin.zip.md5
+sha256sum dist/binaries/apache-wicket-$version-bin.tar.gz > dist/binaries/apache-wicket-$version-bin.tar.gz.sha256
+sha256sum dist/binaries/apache-wicket-$version-bin.zip > dist/binaries/apache-wicket-$version-bin.zip.sha256
 popd
 
 echo "Uploading release to dist.apache.org"