diff --git a/ci.sh b/ci.sh
index dc70f68d106cad1bc54478cd997ce5845a6e259d..8bd2878bc431cdb09822b9ae008d60587f58630b 100755
--- a/ci.sh
+++ b/ci.sh
@@ -2,6 +2,5 @@
 
 set -e
 
-./all.sh distclean
-./all.sh dist
+./update-packages.sh
 ./all.sh publish
diff --git a/update-packages.sh b/update-packages.sh
index 6a3aba2f9c477ee673ace80b5564eb2ee3f8cb42..56ec7559f48a7c83e695f9e7a3f2fa23082233ae 100755
--- a/update-packages.sh
+++ b/update-packages.sh
@@ -17,7 +17,7 @@ do
         ./cook.sh $recipe dist
     else
         oldver=$(./cook.sh $recipe gitversion)
-        ./cook.sh $recipe update
+        ./cook.sh $recipe fetch
         newver=$(./cook.sh $recipe gitversion)
         if [ "$oldver" = "$newver" ]
         then