Add '--tags' to 'git pull' command to pull in tags for repos as well (#10)

* Add '--tags' to 'git pull' command to pull in tags for repos as well

Co-authored-by: Kenneth Lareau <relayer@lindenlab.com>
This commit is contained in:
Kenneth Lareau
2021-07-10 05:12:58 -07:00
committed by GitHub
parent 0f5bc93811
commit 7c4c4f10ab

View File

@@ -54,7 +54,8 @@ verify_repo() {
update_repo() {
info "Updating $1..."
verify_repo "$1" &&
( cd "${repo}" && git pull --no-rebase --ff "${REMOTE}" "${BRANCH_CHOICE}" )
# pyenv-installer makes the repos shallow, so tags are not fetched by default
( cd "${repo}" && git pull --tags --no-rebase --ff "${REMOTE}" "${BRANCH_CHOICE}" )
}
info() {