Fixed linebreaks in the commitlog of nightly-releases

- test to be sure
- I hope this works now!
This commit is contained in:
Maschell 2017-04-02 00:02:02 +02:00
parent 1eefe06d0d
commit bdbe71d1ae

View File

@ -65,8 +65,8 @@ before_deploy:
- git config --global user.name "Travis CI" - git config --global user.name "Travis CI"
- export GIT_TAG=HIDtoVPAD-$versiontag - export GIT_TAG=HIDtoVPAD-$versiontag
- commitLog="$(git log -1 --pretty=%B)" - commitLog="$(git log -1 --pretty=%B)"
- commitMessage="$(echo -e "-\n" && echo "HID to VPAD nightly build. Not a stable release. Expect bugs!" && echo -e "\nCommitlog:\n" && echo $commitLog)" - commitMessage="$(echo -e "-\n" && echo "HID to VPAD nightly build. Not a stable release. Expect bugs!" && echo -e "\nCommitlog:\n")"
- git tag $GIT_TAG -a -m "$commitMessage" - git tag $GIT_TAG -a -m "$commitMessage" -m "$commitLog"
- git push --quiet https://$GITHUBKEY@github.com/Maschell/hid_to_vpad $GIT_TAG > /dev/null 2>&1 - git push --quiet https://$GITHUBKEY@github.com/Maschell/hid_to_vpad $GIT_TAG > /dev/null 2>&1
deploy: deploy: