mirror of
https://github.com/certbot/certbot.git
synced 2026-08-04 12:32:02 +02:00
Add the nginx plugin's hash to certbot-auto during the release process
This commit is contained in:
+2
-2
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user