travis-apidoc: important note about valid json

This commit is contained in:
Daniel Hahler 2016-04-05 00:28:21 +02:00
parent a10431e7a4
commit c431f06538
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ NEW_REV="$(git rev-parse --short HEAD)"
git push --quiet origin "$BRANCH" git push --quiet origin "$BRANCH"
# Generate compare view links. # Generate compare view links.
# NOTE: use "\n" for line endings, not real ones for valid json!
COMPARE_LINKS="Compare view: https://github.com/awesomeWM/apidoc/compare/${OLD_REV}...${NEW_REV}" COMPARE_LINKS="Compare view: https://github.com/awesomeWM/apidoc/compare/${OLD_REV}...${NEW_REV}"
COMPARE_LINKS="$COMPARE_LINKS\nRelevant changes: https://github.com/awesomeWM/apidoc/commit/${RELEVANT_REV}" COMPARE_LINKS="$COMPARE_LINKS\nRelevant changes: https://github.com/awesomeWM/apidoc/commit/${RELEVANT_REV}"
if [ "$BRANCH" != "gh-pages" ]; then if [ "$BRANCH" != "gh-pages" ]; then