We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b34193 commit 879bfc1Copy full SHA for 879bfc1
.travis.yml
@@ -98,7 +98,7 @@ script:
98
pr=$(echo $TRAVIS_COMMIT_MESSAGE | grep -o "#[0-9]*" | head -1 | sed 's/^#//g')
99
output=$(curl -H "Authorization: token $GITHUB_API_TOKEN" -s "https://api.github.com/repos/rust-lang/rust-clippy/pulls/$pr" | \
100
python -c "import sys, json; print(json.load(sys.stdin)['body'])" | \
101
- grep "changelog: " | \
+ grep "^changelog: " | \
102
sed "s/changelog: //g")
103
if [ -z "$output" ]; then
104
echo "ERROR: PR body must contain 'changelog: ...'"
0 commit comments