Add the nginx plugin's hash to certbot-auto during the release process

This commit is contained in:
Brad Warren 2016-08-17 16:10:21 -07:00
parent 9333be6c88
commit a89dfc7226

View file

@ -164,13 +164,13 @@ for module in certbot $subpkgs_modules ; do
done
# pin pip hashes of the things we just built
for pkg in acme certbot certbot-apache ; do
for pkg in acme certbot certbot-apache certbot-nginx ; do
echo $pkg==$version \\
pip hash dist."$version/$pkg"/*.{whl,gz} | grep "^--hash" | python2 -c 'from sys import stdin; input = stdin.read(); print " ", input.replace("\n--hash", " \\\n --hash"),'
done > /tmp/hashes.$$
deactivate
if ! wc -l /tmp/hashes.$$ | grep -qE "^\s*9 " ; then
if ! wc -l /tmp/hashes.$$ | grep -qE "^\s*12 " ; then
echo Unexpected pip hash output
exit 1
fi