diff options
author | Brad Warren <bmw@eff.org> | 2016-05-26 20:33:18 +0300 |
---|---|---|
committer | Brad Warren <bmw@eff.org> | 2016-05-26 20:33:18 +0300 |
commit | a7edc4b1e5ac9f99875ca7bc887d6db4b3415c97 (patch) | |
tree | c4df2e94e428444eb84d771db7264659c8783c1f /tools | |
parent | 7e039d15044738bca2326f26e8e7bdc2b88386db (diff) |
Previously, the script relied on global `pip` for hashing packages. This
doesn't work if you don't have `pip` installed (like me) and I think using
`pip` from the venv should be preferred to ensure you are using the latest
`pip` (which was updated in the venv earlier in the script).
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/release.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/release.sh b/tools/release.sh index 154172322..89a2f5140 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -162,13 +162,13 @@ for module in certbot $subpkgs_modules ; do echo testing $module nosetests $module done -deactivate # pin pip hashes of the things we just built for pkg in acme certbot certbot-apache letsencrypt letsencrypt-apache ; 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*15 " ; then echo Unexpected pip hash output |