mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-11 17:56:18 +03:00
Fix repo name in curl
This commit is contained in:
parent
3330dbad67
commit
94bfd0aacd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user