Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBrad Warren <bmw@eff.org>2016-05-26 20:33:18 +0300
committerBrad Warren <bmw@eff.org>2016-05-26 20:33:18 +0300
commita7edc4b1e5ac9f99875ca7bc887d6db4b3415c97 (patch)
treec4df2e94e428444eb84d771db7264659c8783c1f /tools
parent7e039d15044738bca2326f26e8e7bdc2b88386db (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-xtools/release.sh2
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