mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-12 19:44:43 +00:00
[skip build] testing travis script
This commit is contained in:
parent
5c8cdfd2b5
commit
35edb382ee
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ NEFM=$(git diff --name-only -n 1 ${TRAVIS_COMMIT_RANGE} | grep -Ev '^(keyboards/
|
||||||
if [[ $NEFM -gt 0 ]] ; then
|
if [[ $NEFM -gt 0 ]] ; then
|
||||||
echo "Essential files modified."
|
echo "Essential files modified."
|
||||||
git fetch --tags
|
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)
|
newtag=$(increment_version $lasttag)
|
||||||
git tag $newtag
|
git tag $newtag
|
||||||
git push --tags -q https://$GH_TOKEN@github.com/qmk/qmk_firmware
|
git push --tags -q https://$GH_TOKEN@github.com/qmk/qmk_firmware
|
||||||
|
|
Loading…
Reference in a new issue