You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by ad...@apache.org on 2018/02/12 14:43:56 UTC
wicket git commit: Improvement for sha256 digest generation
Repository: wicket
Updated Branches:
refs/heads/master ba3eb5fbd -> e5ce1df6a
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/e5ce1df6
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/e5ce1df6
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/e5ce1df6
Branch: refs/heads/master
Commit: e5ce1df6aa7f55ab3e1a0dac8b8d09250b510c1f
Parents: ba3eb5f
Author: Andrea Del Bene <ad...@apache.org>
Authored: Mon Feb 12 15:41:55 2018 +0100
Committer: Andrea Del Bene <ad...@apache.org>
Committed: Mon Feb 12 15:43:01 2018 +0100
----------------------------------------------------------------------
release.sh | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/e5ce1df6/release.sh
----------------------------------------------------------------------
diff --git a/release.sh b/release.sh
index b344d29..67ae746 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"