mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 19:52:34 +02:00
release.sh: autopin letsencrypt-auto autopeep autohashes
This commit is contained in:
@@ -161,6 +161,23 @@ for module in letsencrypt $subpkgs_modules ; do
|
|||||||
done
|
done
|
||||||
deactivate
|
deactivate
|
||||||
|
|
||||||
|
# pin peep hashes of the things we just built
|
||||||
|
for pkg in acme letsencrypt letsencrypt-apache ; do
|
||||||
|
echo
|
||||||
|
peep hash dist."$version/$pkg"/*.{whl,gz}
|
||||||
|
echo $pkg==$version
|
||||||
|
done > /tmp/hashes.$$
|
||||||
|
|
||||||
|
if ! wc -l /tmp/hashes.$$ | grep -qE "^12 " ; then
|
||||||
|
echo Unexpected peep hash output
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# perform hideous surgery on requirements.txt...
|
||||||
|
head -n -12 letsencrypt-auto-source/pieces/letsencrypt-auto-requirements.txt > /tmp/req.$$
|
||||||
|
cat /tmp/hashes.$$ >> /tmp/req.$$
|
||||||
|
cp /tmp/req.$$ letsencrypt-auto-source/pieces/letsencrypt-auto-requirements.txt
|
||||||
|
|
||||||
# ensure we have the latest built version of leauto
|
# ensure we have the latest built version of leauto
|
||||||
letsencrypt-auto-source/build.py
|
letsencrypt-auto-source/build.py
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user