Clean before build

This commit is contained in:
Adrien Ferrand 2020-07-05 21:36:31 +02:00
parent 288c61b9c8
commit 750cf43ff0
2 changed files with 2 additions and 1 deletions

View file

@ -38,4 +38,4 @@ docker run \
-w "/certbot" \
-e "PIP_EXTRA_INDEX_URL=http://localhost:8080" \
"adferrand/snapcraft:${DOCKER_ARCH}-stable" \
snapcraft
/bin/bash -c "snapcraft clean && snapcraft"

View file

@ -54,6 +54,7 @@ IFS=","
for DNS_PLUGIN in ${DNS_PLUGINS}; do
pushd "${DNS_PLUGIN}"
cp /snap-constraints.txt .
snapcraft clean
snapcraft
popd
done