helpers/go: fix missing git fetch

This commit is contained in:
Salamandar 2024-06-05 15:25:28 +02:00
parent c836d88b9a
commit 5676a72750

View file

@ -137,6 +137,7 @@ ynh_install_go () {
else
ynh_print_info --message="Updating xxenv-latest..."
fi
git fetch -q --tags --prune origin
local git_latest_tag=$(git describe --tags "$(git rev-list --tags --max-count=1)")
git checkout -q "$git_latest_tag"
popd