Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
public-apis
Commits
db202dba
Commit
db202dba
authored
Jul 26, 2017
by
Yoann Lecuyer
Browse files
wrong diff url
parent
42e73ee0
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/main.sh
View file @
db202dba
...
...
@@ -3,7 +3,7 @@ FORMAT_FILE=../README.md
if
[
"
$TRAVIS_PULL_REQUEST
"
!=
"false"
]
;
then
echo
"running on Pull Request #
$TRAVIS_PULL_REQUEST
"
DIFF_URL
=
"https://patch-diff.githubusercontent.com/raw/toddmotto/public-apis/pull/
$TRAVIS_PULL_REQUEST
.diff"
curl
https://patch-diff.githubusercontent.com/raw/toddmotto/public-apis/pull/398.diff
>
diff.txt
curl
$DIFF_URL
>
diff.txt
echo
"------- BEGIN DIFF -------"
cat
diff.txt
echo
"-------- END DIFF --------"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment