]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
hack to force new tag
authorJack Humbert <jack.humb@gmail.com>
Mon, 16 Oct 2017 00:04:23 +0000 (20:04 -0400)
committerJack Humbert <jack.humb@gmail.com>
Mon, 16 Oct 2017 00:04:23 +0000 (20:04 -0400)
util/travis_compiled_push.sh

index af9fc51d9c45ef382f270eb86cd670a6fa5982fe..27e77a92187cb8e690162e39cdb3c4fb7aa4044e 100644 (file)
@@ -40,7 +40,8 @@ if [[ $NEFM -gt 0 ]] ; then
        #lasttag=$(git describe --tags $(git rev-list --tags --max-count=10) | grep -Ev '\-' | xargs -I@ git log --format=format:"%ai @%n" -1 @ | sort -V | awk '{print $4}' | tail -1)
        lasttag=$(git describe --tags $(git rev-list --tags --max-count=10) | grep -Ev '\-' | sort -V | tail -1)
        newtag=$(increment_version $lasttag)
-       git tag $newtag
+       newertag=$(increment_version $newtag)
+       git tag $newtag || git tag $newertag
        git push --tags git@github.com:qmk/qmk_firmware.git
 else
        echo "No essential files modified."