]> git.openstreetmap.org Git - chef.git/commitdiff
nominatim: need to fetch tags on source code update
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 2 Jan 2024 16:50:33 +0000 (17:50 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 2 Jan 2024 16:50:33 +0000 (17:50 +0100)
cookbooks/nominatim/templates/default/nominatim-update-source.erb

index 70b6402a809b4d2bb1f59e4c1bb7d1f2febe76a2..fb51d1eea1745daa557400c661bfd4dd41e26a20 100644 (file)
@@ -9,6 +9,7 @@ date "+%c === Checking for new versions of Nominatim"
 cd <%= @srcdir %>
 
 git fetch origin
+git fetch origin -tf
 
 if git diff --exit-code <%= node[:nominatim][:revision] %> >/dev/null; then
   # signal that there are no new updates