summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-02-07 00:28:37 +0100
committerJack Humbert <jack.humb@gmail.com>2017-02-07 00:28:37 +0100
commit35edb382ee6390e1208806ce74d7dc1f4ab08f5d (patch)
tree30f6d9b1a18b3567d92147962402a802aa7c76d6 /util
parent5c8cdfd2b579c198ad37504772e663783f530685 (diff)
downloadqmk_firmware-35edb382ee6390e1208806ce74d7dc1f4ab08f5d.tar.gz
qmk_firmware-35edb382ee6390e1208806ce74d7dc1f4ab08f5d.tar.xz
[skip build] testing travis script
Diffstat (limited to 'util')
-rw-r--r--util/travis_compiled_push.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/travis_compiled_push.sh b/util/travis_compiled_push.sh
index 8025ccb8f..3751da1e5 100644
--- a/util/travis_compiled_push.sh
+++ b/util/travis_compiled_push.sh
@@ -21,7 +21,7 @@ NEFM=$(git diff --name-only -n 1 ${TRAVIS_COMMIT_RANGE} | grep -Ev '^(keyboards/
if [[ $NEFM -gt 0 ]] ; then
echo "Essential files modified."
git fetch --tags
- lasttag=$(git tag | grep -Ev '\-' | xargs -I@ git log --format=format:"%ai @%n" -1 @ | sort | awk '{print $4}' | tail -1)
+ lasttag=$(git tag | grep -Ev '\-' | xargs -I@ git log --format=format:"%ai @%n" -1 @ | sort -V | awk '{print $4}' | tail -1)
newtag=$(increment_version $lasttag)
git tag $newtag
git push --tags -q https://$GH_TOKEN@github.com/qmk/qmk_firmware