diff options
| author | Dan Halbert <halbert@adafruit.com> | 2019-06-11 16:11:56 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-11 16:11:56 -0400 |
| commit | 036e7a332baea537d1a0b28854393fe1790b0991 (patch) | |
| tree | b5d157fdc0b68da2a3aa2eb68d032c47069d9abe | |
| parent | fecd3f835ba81cb9d4567f6b83186465ff90e8cb (diff) | |
| parent | 5164a6eb26ebc8f02a90081b610496e2517259ed (diff) | |
Merge pull request #1936 from dhalbert/git-checkout-latest-tag.sh
forgot tools/git-checkout-latest-tag.sh in PR #1909
| -rwxr-xr-x | tools/git-checkout-latest-tag.sh | 3 |
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`) |
