mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-10 02:30:07 +00:00
make travis convert line-endings and push a skippable commit
This commit is contained in:
parent
1254e76e29
commit
fa6bcfd10c
2 changed files with 7 additions and 0 deletions
|
@ -29,6 +29,7 @@ addons:
|
||||||
- binutils-arm-none-eabi
|
- binutils-arm-none-eabi
|
||||||
- libnewlib-arm-none-eabi
|
- libnewlib-arm-none-eabi
|
||||||
- diffutils
|
- diffutils
|
||||||
|
- dos2unix
|
||||||
after_success:
|
after_success:
|
||||||
bash util/travis_compiled_push.sh
|
bash util/travis_compiled_push.sh
|
||||||
notifications:
|
notifications:
|
||||||
|
|
|
@ -17,6 +17,12 @@ chmod 600 qmk.fm
|
||||||
eval `ssh-agent -s`
|
eval `ssh-agent -s`
|
||||||
ssh-add id_rsa_qmk_firmware
|
ssh-add id_rsa_qmk_firmware
|
||||||
|
|
||||||
|
# convert to unix line-endings
|
||||||
|
git diff --name-only -n 1 -z ${TRAVIS_COMMIT_RANGE} | xargs -0 dos2unix
|
||||||
|
git diff --name-only -n 1 -z ${TRAVIS_COMMIT_RANGE} | xargs -0 git add
|
||||||
|
git commit -m "convert to unix line-endings [skip ci]"
|
||||||
|
git push git@github.com:qmk/qmk_firmware.git
|
||||||
|
|
||||||
increment_version ()
|
increment_version ()
|
||||||
{
|
{
|
||||||
declare -a part=( ${1//\./ } )
|
declare -a part=( ${1//\./ } )
|
||||||
|
|
Loading…
Reference in a new issue