Skip to content

Commit

Permalink
Merge pull request #1068 from hugovk/build-pillow-wheels
Browse files Browse the repository at this point in the history
Fix repo name in curl
  • Loading branch information
hugovk committed Jan 4, 2015
2 parents ce9b6a4 + 94bfd0a commit ffe7854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_children.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Get last child project build number from branch named "latest"
BUILD_NUM=$(curl -s 'https://api.travis-ci.org/repos/Pillow/pillow-wheels/branches/latest' | grep -o '^{"branch":{"id":[0-9]*,' | grep -o '[0-9]' | tr -d '\n')
BUILD_NUM=$(curl -s 'https://api.travis-ci.org/repos/python-pillow/pillow-wheels/branches/latest' | grep -o '^{"branch":{"id":[0-9]*,' | grep -o '[0-9]' | tr -d '\n')

# Restart last child project build
curl -X POST https://api.travis-ci.org/builds/$BUILD_NUM/restart --header "Authorization: token "$AUTH_TOKEN

0 comments on commit ffe7854

Please sign in to comment.