travis-apidoc: important note about valid json
This commit is contained in:
parent
a10431e7a4
commit
c431f06538
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue