mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
helpers/go: fix missing git fetch
This commit is contained in:
parent
c836d88b9a
commit
5676a72750
1 changed files with 1 additions and 0 deletions
|
@ -137,6 +137,7 @@ ynh_install_go () {
|
||||||
else
|
else
|
||||||
ynh_print_info --message="Updating xxenv-latest..."
|
ynh_print_info --message="Updating xxenv-latest..."
|
||||||
fi
|
fi
|
||||||
|
git fetch -q --tags --prune origin
|
||||||
local git_latest_tag=$(git describe --tags "$(git rev-list --tags --max-count=1)")
|
local git_latest_tag=$(git describe --tags "$(git rev-list --tags --max-count=1)")
|
||||||
git checkout -q "$git_latest_tag"
|
git checkout -q "$git_latest_tag"
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Add table
Reference in a new issue