From 71feac57175f5a3d09e96cc579f5d5c3477adb7b Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Sun, 28 May 2017 16:16:56 -0400 Subject: [PATCH] ignore docs, fix tag/hex pushing --- util/qmk.fm.enc | Bin 0 -> 3248 bytes util/qmk_firmware.enc | Bin 0 -> 3248 bytes util/travis_compiled_push.sh | 14 +++++++++++--- 3 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 util/qmk.fm.enc create mode 100644 util/qmk_firmware.enc diff --git a/util/qmk.fm.enc b/util/qmk.fm.enc new file mode 100644 index 0000000000000000000000000000000000000000..d7aa4627037118fe98d85ea8669562bf20465bad GIT binary patch literal 3248 zcmV;h3{UeKSHo z`?0%OWCy2Eb z(PsL}wGyb6DhH+VH~DE5rR$RIzm+%;0M}5HF7YQl&=gWdfT!BnG|JZ|i|-zWRo4~p zH?D^t99fuTNaa%upKht7Tv1Wf0KoP)z=O^Xe?fkSa7Wwoq z3rAPPV~(#nT%N;!ME%`dKdW$zpocPX6oiDEvJ&yVcB0~Y1yZBHI9>r9yE|96m6A$E zt7tkY`$vGwSfz>hmnVGtvMxtK#3+}`3&?pXCHTwlsoUI^1TR}>?2O*R4UJNZ4mQQJ z`EYq~sQM>1Po+y9EAueD)olo{ggyCrB>IR4Iu>t?(SFc037PZthtjLep?B)?+MVv9 z-1xD@3~9<@Zwy^LvYQVK#)@7Q2AIDcZS7hJe`KBrs`6|u&yBBNBZfhOyeHF4*ZFyc zb}d1psQBbN^(DDRU$|FEP-j^Zu`2D2wq~U`zD(hW?gM-cQfHiXvS176z^rO^Eyyye zk*4MP>z6yn%XJXa(Kz9{z{Fr-(U_TZXrc$1b(?{x{|j;dZ6LSSxUjifU)?^{jf0-p zP4q#%!cSyUaUy*{VI&aDeFJJVhWeGZ_YgJh+JraVcw2XIZ-Opo*Z@COyYyzyEhk3( zClM~I5ldOSBD9)Ki@`+d_awx@G7rPVOxH+;8zYJB^CC&EzH>=x1;nPH`a9Gr(l_4o z)gRtg95$q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USpNrX zabhB()`s~vAP2$!Q`aP80erl7oQWSn06c zun*1wV*{E9V;<$>0o;58eEMn;~KXS zyD#)2A{4X<>?>%LB%xZ32Xs0`0D@jw^3kVlTY%Hau<94(Lsq9LR%I=J5fCh*Q!*;$ z@FfxulqK~l({u^6r0~=yAbe0tSPB0u!GsP@>SC@paWIRb-GOT_W1Mpo2}_7Y0yn$r zH9}C@(Ml*&*J~{*M~Bx6q*czzAKBBq4@S%kWdelL4@3Wr=XbYawdb8X741cfmxlR i6X`9%yzfz#l-szkLWn2bDtL5JDhyIA6j5 literal 0 HcmV?d00001 diff --git a/util/travis_compiled_push.sh b/util/travis_compiled_push.sh index 718daaa2..dcf408a2 100644 --- a/util/travis_compiled_push.sh +++ b/util/travis_compiled_push.sh @@ -7,6 +7,14 @@ rev=$(git rev-parse --short HEAD) git config --global user.name "Travis CI" git config --global user.email "jack.humb+travis.ci@gmail.com" +openssl aes-256-cbc -K $encrypted_b0ee987fd0fc_key -iv $encrypted_b0ee987fd0fc_iv -in util/qmk_firmware.enc -out qmk_firmware -d +openssl aes-256-cbc -K $encrypted_b0ee987fd0fc_key -iv $encrypted_b0ee987fd0fc_iv -in util/qmk.fm.enc -out qmk.fm -d +chmod 600 qmk_firmware +chmod 600 qmk.fm +eval `ssh-agent -s` +ssh-add qmk_firmware +ssh-add qmk.fm + if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" ]] ; then increment_version () @@ -17,14 +25,14 @@ increment_version () echo -e "${new// /.}" } -NEFM=$(git diff --name-only -n 1 ${TRAVIS_COMMIT_RANGE} | grep -Ev '^(keyboards/)' | wc -l) +NEFM=$(git diff --name-only -n 1 ${TRAVIS_COMMIT_RANGE} | grep -Ev '^(keyboards/)' | grep -Ev '^(docs/)' | wc -l) 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 -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 + git push --tags else echo "No essential files modified." fi @@ -34,7 +42,7 @@ if [[ "$TRAVIS_COMMIT_MESSAGE" != *"[skip build]"* ]] ; then make ergodox-ez AUTOGEN=true cd .. - git clone https://$GH_TOKEN@github.com/jackhumbert/qmk.fm.git + git clone git@github.com:qmk/qmk.fm.git cd qmk.fm #git submodule update --init --recursive #rm -rf keyboard