forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c351fa
commit 7eccbfe
Showing
2 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,16 +4,18 @@ set -o errexit -o nounset | |
|
||
rev=$(git rev-parse --short HEAD) | ||
|
||
if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" ]] ; then | ||
|
||
git config --global user.name "Travis CI" | ||
git config --global user.email "[email protected]" | ||
|
||
openssl aes-256-cbc -K $encrypted_b0ee987fd0fc_key -iv $encrypted_b0ee987fd0fc_iv -in secrets.tar.enc -out secrets.tar -d | ||
tar xvf secrets.tar | ||
|
||
chmod 600 id_rsa_qmk_firmware | ||
chmod 600 qmk.fm | ||
eval `ssh-agent -s` | ||
ssh-add id_rsa_qmk_firmware | ||
ssh-add qmk.fm | ||
|
||
if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" ]] ; then | ||
|
||
increment_version () | ||
{ | ||
|
@@ -42,6 +44,7 @@ if [[ "$TRAVIS_COMMIT_MESSAGE" != *"[skip build]"* ]] ; then | |
cd .. | ||
git clone [email protected]:qmk/qmk.fm.git | ||
cd qmk.fm | ||
ssh-add ../qmk_firmware/qmk.fm | ||
#git submodule update --init --recursive | ||
#rm -rf keyboard | ||
#rm -rf keyboards | ||
|