8000 Merge pull request #1936 from dhalbert/git-checkout-latest-tag.sh · flummer/circuitpython@036e7a3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 036e7a3

Browse files
authored
Merge pull request adafruit#1936 from dhalbert/git-checkout-latest-tag.sh
forgot tools/git-checkout-latest-tag.sh in PR adafruit#1909
2 parents fecd3f8 + 5164a6e commit 036e7a3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/git-checkout-latest-tag.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
git fetch --tags
3+
git checkout $(git describe --tags `git rev-list --tags --max-count=1`)

0 commit comments

Comments
 (0)
0