Skip to content

Commit

Permalink
Fix bug where git didnt fetch tags
Browse files Browse the repository at this point in the history
  • Loading branch information
trobrock committed Jun 4, 2014
1 parent 61dd092 commit 574b9b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libexec/chefvm-update
Original file line number Diff line number Diff line change
Expand Up @@ -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 )"

Expand Down

0 comments on commit 574b9b7

Please sign in to comment.