From c431f06538c206fcf0cbac18d5424e3da750d080 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Tue, 5 Apr 2016 00:28:21 +0200 Subject: [PATCH] travis-apidoc: important note about valid json --- build-utils/travis-apidoc.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build-utils/travis-apidoc.sh b/build-utils/travis-apidoc.sh index 67c5c0bb..03a317d9 100755 --- a/build-utils/travis-apidoc.sh +++ b/build-utils/travis-apidoc.sh @@ -101,6 +101,7 @@ NEW_REV="$(git rev-parse --short HEAD)" git push --quiet origin "$BRANCH" # 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_LINKS\nRelevant changes: https://github.com/awesomeWM/apidoc/commit/${RELEVANT_REV}" if [ "$BRANCH" != "gh-pages" ]; then