summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2019-06-11 15:22:32 -0400
committerDan Halbert <halbert@halwitz.org>2019-06-11 15:22:32 -0400
commit5164a6eb26ebc8f02a90081b610496e2517259ed (patch)
treeb5d157fdc0b68da2a3aa2eb68d032c47069d9abe
parentfecd3f835ba81cb9d4567f6b83186465ff90e8cb (diff)
forgot tools/git-checkout-latest-tag.sh in PR #1909
-rwxr-xr-xtools/git-checkout-latest-tag.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/git-checkout-latest-tag.sh b/tools/git-checkout-latest-tag.sh
new file mode 100755
index 000000000..f6242a946
--- /dev/null
+++ b/tools/git-checkout-latest-tag.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+git fetch --tags
+git checkout $(git describe --tags `git rev-list --tags --max-count=1`)