diff --git a/create-packages.sh b/create-packages.sh
index f85f478f5fd4fcdbd84d1ec9e94c4b7e0578a2b1..687890686dc0ec60687ff45704af99d6f17ecba4 100755
--- a/create-packages.sh
+++ b/create-packages.sh
@@ -97,6 +97,7 @@ elif [[ -n $ALL ]]; then
     RPM='yes'
 fi
 
+git pull
 set -e # from this point we exit on failure
 
 if [[ -n $DEB ]]; then