Merge pull request #1936 from dhalbert/git-checkout-latest-tag.sh

forgot tools/git-checkout-latest-tag.sh in PR #1909
This commit is contained in:
Dan Halbert 2019-06-11 16:11:56 -04:00 committed by GitHub
commit 036e7a332b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,3 @@
#!/bin/bash
git fetch --tags
git checkout $(git describe --tags `git rev-list --tags --max-count=1`)