From 574b9b7ce28fdac73f1cd91c0f97a8a13f7a7bbb Mon Sep 17 00:00:00 2001 From: Trae Robrock Date: Wed, 4 Jun 2014 13:21:53 -0700 Subject: [PATCH] Fix bug where git didnt fetch tags --- libexec/chefvm-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/chefvm-update b/libexec/chefvm-update index c1bf17c..9eecb71 100755 --- a/libexec/chefvm-update +++ b/libexec/chefvm-update @@ -8,7 +8,7 @@ set -e __chefvm_config $1 cd $_CHEFVM_ROOT -git fetch origin +git fetch --tags origin tag="$( git describe --tags --abbrev=0 `git rev-list --tags --max-count=1` )" diff="$( git cherry -v HEAD $tag | wc -l )"