Travis: fix newlines and URLs with commit messages (#142)
This commit is contained in:
parent
842e3159a8
commit
10f8972dbd
|
@ -99,7 +99,8 @@ after_success:
|
||||||
git config user.name "awesome-robot on Travis CI"
|
git config user.name "awesome-robot on Travis CI"
|
||||||
git config user.email "awesome-robot@users.noreply.github.com"
|
git config user.email "awesome-robot@users.noreply.github.com"
|
||||||
git add --all .
|
git add --all .
|
||||||
git commit -m "Update from Travis for awesome-www@${commit_hash}\n\nCommits: https://github.com/awesomeWM/awesome/compare/${TRAVIS_COMMIT_RANGE/.../..}\nBuild URL: https://travis-ci.com/awesomeWM/awesome/builds/${TRAVIS_BUILD_ID}"
|
NL=$'\n'
|
||||||
|
git commit -m "Update from Travis for awesome-www@${commit_hash}${NL}${NL}Commits: https://github.com/awesomeWM/awesome-www/compare/${TRAVIS_COMMIT_RANGE/.../..}${NL}Build URL: https://travis-ci.com/awesomeWM/awesome-www/builds/${TRAVIS_BUILD_ID}"
|
||||||
git --no-pager show --stat
|
git --no-pager show --stat
|
||||||
git push origin "$(git symbolic-ref --quiet HEAD)" 2>&1 | sed "s/$GH_APIDOC_TOKEN/GH_APIDOC_TOKEN/g"
|
git push origin "$(git symbolic-ref --quiet HEAD)" 2>&1 | sed "s/$GH_APIDOC_TOKEN/GH_APIDOC_TOKEN/g"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue