Skip to content

Commit

Permalink
Add the nginx plugin's hash to certbot-auto during the release process
Browse files Browse the repository at this point in the history
  • Loading branch information
bmw committed Aug 17, 2016
1 parent 9333be6 commit a89dfc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a89dfc7

Please sign in to comment.