aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-11-17 14:09:27 -0500
committerJack Humbert <jack.humb@gmail.com>2017-11-17 14:09:27 -0500
commit1d703a476aa2cea2302c3d672b05b7e252e62c44 (patch)
treec99b7336fa0d474bdb1fff53a230baf25ef3dff8 /util
parentf5a9758cea0cf65e4c4270aa55738e423213b82c (diff)
downloadfirmware-1d703a476aa2cea2302c3d672b05b7e252e62c44.tar.gz
firmware-1d703a476aa2cea2302c3d672b05b7e252e62c44.tar.bz2
firmware-1d703a476aa2cea2302c3d672b05b7e252e62c44.zip
update build script to not delete files
Diffstat (limited to 'util')
-rw-r--r--util/travis_compiled_push.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/util/travis_compiled_push.sh b/util/travis_compiled_push.sh
index 856ee71bc..b3554b507 100644
--- a/util/travis_compiled_push.sh
+++ b/util/travis_compiled_push.sh
@@ -64,12 +64,14 @@ if [[ "$TRAVIS_COMMIT_MESSAGE" != *"[skip build]"* ]] ; then
eval `ssh-agent -s`
ssh-add id_rsa_qmk.fm
- # not sure this is needed now
- rm -f compiled/*.hex
+ # don't delete files in case not all keyboards are built
+ # 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
+ for file in ../qmk_firmware/keyboards/*/keymaps/*/*_default.hex; do mv -v "$file" "compiled/${file##*/}" || true; done
+ for file in ../qmk_firmware/keyboards/*/*/keymaps/*/*_default.hex; do mv -v "$file" "compiled/${file##*/}" || true; done
+ for file in ../qmk_firmware/keyboards/*/*/*/keymaps/*/*_default.hex; do mv -v "$file" "compiled/${file##*/}" || true; done
+ for file in ../qmk_firmware/keyboards/*/*/*/*/keymaps/*/*_default.hex; do mv -v "$file" "compiled/${file##*/}" || true; done
bash _util/generate_keyboard_page.sh
git add -A
git commit -m "generated from qmk/qmk_firmware@${rev}"