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
+2 -2
View File
@@ -164,13 +164,13 @@ for module in certbot $subpkgs_modules ; do
done done
# pin pip hashes of the things we just built # 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 \\ 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"),' 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.$$ done > /tmp/hashes.$$
deactivate 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 echo Unexpected pip hash output
exit 1 exit 1
fi fi