Repository: wicket
Updated Branches:
  refs/heads/wicket-7.x 95fd694b8 -> cd45229e8


Improvement for sha256 digest generation


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

Branch: refs/heads/wicket-7.x
Commit: cd45229e8e2c65799cce9abda20b428cc86acf45
Parents: 95fd694
Author: Andrea Del Bene <adelb...@apache.org>
Authored: Mon Feb 12 15:41:55 2018 +0100
Committer: Andrea Del Bene <adelb...@apache.org>
Committed: Mon Feb 12 16:00:13 2018 +0100

----------------------------------------------------------------------
 release.sh | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/cd45229e/release.sh
----------------------------------------------------------------------
diff --git a/release.sh b/release.sh
index 3ffbf1f..627f9d7 100755
--- a/release.sh
+++ b/release.sh
@@ -530,8 +530,11 @@ 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
-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
+
+pushd target/dist
+sha256sum apache-wicket-$version.tar.gz > apache-wicket-$version.tar.gz.sha256
+sha256sum apache-wicket-$version.zip > apache-wicket-$version.zip.sha256
+popd
 
 echo "Create and sign the binaries"
 mkdir target/apache-wicket-$version-bin
@@ -550,8 +553,11 @@ 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
-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
+
+pushd dist/binaries
+sha256sum apache-wicket-$version-bin.tar.gz > 
apache-wicket-$version-bin.tar.gz.sha256
+sha256sum apache-wicket-$version-bin.zip > 
apache-wicket-$version-bin.zip.sha256
+popd
 popd
 
 echo "Uploading release to dist.apache.org"

Reply via email to