[travis] Use the commit message from the right branch on nightly releases.

This commit is contained in:
Maschell 2018-08-07 00:56:09 +02:00 committed by GitHub
parent 8c1f952def
commit e3b238d419
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ before_deploy:
- zip -r libutilswut_$commit.zip .
- cd ..
- export GIT_TAG=libutilwut-$commit
- commitLog="$(git log -1 --pretty=%B)"
- commitLog="$(git log -1 wut --pretty=%B)"
- commitMessage="$(echo -e "-\n" && echo "libutilswut nightly build." && echo -e "\nCommitlog:\n")"
- git tag $GIT_TAG -a -m "$commitMessage" -m "$commitLog"
deploy: