X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=util%2Ftravis_compiled_push.sh;h=bc2a4f87b222292705c9a9ffc789bed590a29cad;hb=cb64a886e9c53ca165a057c9e3d0dc1022c4d323;hp=9ed1babe07acc66d07e4256f7e54e760ca895fc8;hpb=dbabfb082c71709a5bcbe6d2847ff3fe1619378a;p=qmk_firmware.git diff --git a/util/travis_compiled_push.sh b/util/travis_compiled_push.sh index 9ed1babe0..bc2a4f87b 100644 --- a/util/travis_compiled_push.sh +++ b/util/travis_compiled_push.sh @@ -54,22 +54,23 @@ else fi if [[ "$TRAVIS_COMMIT_MESSAGE" != *"[skip build]"* ]] ; then - + make generate-keyboards-file SILENT=true > .keyboards cd .. git clone git@github.com:qmk/qmk.fm.git cd qmk.fm mv ../qmk_firmware/id_rsa_qmk.fm id_rsa_qmk.fm + mv ../qmk_firmware/.keyboards . ssh-add -D eval `ssh-agent -s` ssh-add id_rsa_qmk.fm # not sure this is needed now - # rm -f compiled/*.hex + rm -f compiled/*.hex # ignore errors here for file in ../qmk_firmware/keyboards/*/keymaps/*/*.hex; do mv -v "$file" "compiled/${file##*/}" || true; done for file in ../qmk_firmware/keyboards/*/*/keymaps/*/*.hex; do mv -v "$file" "compiled/${file##*/}" || true; done - + _util/generate_keyboard_page.sh git add -A git commit -m "generated from qmk/qmk_firmware@${rev}" git push git@github.com:qmk/qmk.fm.git