Skip to content

Commit

Permalink
fix #2459 sha512 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cvictory committed Nov 13, 2018
1 parent c290991 commit 7b1985a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ git reset --hard $COMMIT_ID

cd distribution/target
echo "Start to shasum for bin/source.zip"
shasum -a 512 apache-dubbo-incubating-${VERSION}-source-release.zip >> apache-dubbo-incubating-${VERSION}-source-release.zip.sha512
shasum -a 512 apache-dubbo-incubating-${VERSION}-bin-release.zip >> apache-dubbo-incubating-${VERSION}-bin-release.zip.sha512
shasum -b -a 512 apache-dubbo-incubating-${VERSION}-source-release.zip >> apache-dubbo-incubating-${VERSION}-source-release.zip.sha512
shasum -b -a 512 apache-dubbo-incubating-${VERSION}-bin-release.zip >> apache-dubbo-incubating-${VERSION}-bin-release.zip.sha512

read -p "Need to push bin/source.zip to Apache svn repo ? (y/n, default is n) " NEED_PUSH_APACHE

Expand All @@ -170,4 +170,4 @@ if [ "$NEED_PUSH_APACHE" = "y" ]; then
echo "If this is your first release, make sure adding PUBLIC_KEY to KEYS manually."
else
echo "Skip push bin/source.zip to Apache svn repo"
fi
fi

0 comments on commit 7b1985a

Please sign in to comment.