mirror of https://github.com/statping/statping
new
parent
548cf02c1f
commit
673cd5c9c9
18
build.sh
18
build.sh
|
@ -46,20 +46,20 @@ mv $APP-linux-arm64 $APP
|
||||||
tar -czvf $APP-linux-arm64.tar.gz $APP && rm -f $APP
|
tar -czvf $APP-linux-arm64.tar.gz $APP && rm -f $APP
|
||||||
|
|
||||||
body='{
|
body='{
|
||||||
"request": {
|
"request": {
|
||||||
"message": "Updating Homebrew Formula to v'"$VERSION"'",
|
"config": {
|
||||||
"branch":"master",
|
"merge_mode": "replace",
|
||||||
"config": {
|
"env": {
|
||||||
"env": {
|
"VERSION": "'"$VERSION"'"
|
||||||
VERSION: "'"$VERSION"'"
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}}'
|
}'
|
||||||
|
|
||||||
curl -s -X POST \
|
curl -s -X POST \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "Accept: application/json" \
|
-H "Accept: application/json" \
|
||||||
-H "Travis-API-Version: 3" \
|
-H "Travis-API-Version: 3" \
|
||||||
-H "Authorization: $TRAVIS_API" \
|
-H "Authorization: token $TRAVIS_API" \
|
||||||
-d "$body" \
|
-d "$body" \
|
||||||
https://api.travis-ci.com/repo/hunterlong%2Fhomebrew-statup/requests
|
https://api.travis-ci.com/repo/hunterlong%2Fhomebrew-statup/requests
|
Loading…
Reference in New Issue