-
-
Save isao/08d8fb92d365a7864785 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git checkout \ | |
$(git show -s --pretty='%T' \ | |
$(git show-ref -d \ | |
$(git describe --abbrev=0) |\ # grab the most recent tag | |
tail -n1 |\ | |
awk '{print $1}'\ # dereference the commit hash it refers to | |
)\ # ... show the tree-hash it points at | |
) -- test # check that version's "test/" directory out into cwd | |
make test # if this fails, you should bump major, | |
# otherwise bump minor or patch. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment