packaging: explain why we purge while building wheels stable
authorPierre-Yves David <pierre-yves.david@octobus.net>
Fri, 15 Nov 2024 16:34:50 +0100
branchstable
changeset 52259 074bc2b135f3
parent 52258 b65f11f49375
child 52260 b5517711afca
packaging: explain why we purge while building wheels We also make is a bit narrower so that it is less surprising.
contrib/packaging/build-linux-wheels.sh
--- a/contrib/packaging/build-linux-wheels.sh	Fri Nov 15 00:01:34 2024 +0100
+++ b/contrib/packaging/build-linux-wheels.sh	Fri Nov 15 16:34:50 2024 +0100
@@ -20,7 +20,11 @@
 #     therefor not compatible.
 cp -r /src/ /tmp/src/
 cd /tmp/src/
-hg purge --all --no-confirm
+# clear potentially cached artifact from the host
+# (we could narrow this purge probably)
+hg purge \
+    --ignored \
+    --no-confirm
 
 export HGRCPATH=/tmp/build-config.rc
 cat << EOF > $HGRCPATH