Update snapcraft build

This commit is contained in:
Adrien Ferrand 2020-11-11 20:16:41 +01:00
parent f10d4cca62
commit 429bbfbf39

View file

@ -79,6 +79,8 @@ parts:
snapcraftctl pull
cd $SNAPCRAFT_PART_SRC
python3 tools/strip_hashes.py letsencrypt-auto-source/pieces/dependency-requirements.txt | grep -v python-augeas > snap-constraints.txt
python3 tools/strip_hashes.py tools/pipstrap_requirements.txt >> snap-constraints.txt
echo "$(python3 tools/merge_requirements.py snap-constraints.txt)" > snap-constraints.txt
snapcraftctl set-version `grep -oP "__version__ = '\K.*(?=')" $SNAPCRAFT_PART_SRC/certbot/certbot/__init__.py`
shared-metadata:
plugin: dump