From: Sarah Hoffmann Date: Tue, 2 Jan 2024 16:50:33 +0000 (+0100) Subject: nominatim: need to fetch tags on source code update X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/6af89fc6b1cf4d1130ff4760d96ad9aa7403636e nominatim: need to fetch tags on source code update --- diff --git a/cookbooks/nominatim/templates/default/nominatim-update-source.erb b/cookbooks/nominatim/templates/default/nominatim-update-source.erb index 70b6402a8..fb51d1eea 100644 --- a/cookbooks/nominatim/templates/default/nominatim-update-source.erb +++ b/cookbooks/nominatim/templates/default/nominatim-update-source.erb @@ -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