Move iOS scripts to xplat

Summary: Move iOS scripts to xplat

Reviewed By: passy

Differential Revision: D8989985

fbshipit-source-id: 1499657f6d9b7e82f26aa8c008951c885756b51d
This commit is contained in:
Pritesh Nandgaonkar
2018-07-26 05:12:09 -07:00
committed by Facebook Github Bot
parent 6c78895b2a
commit 41d0b2eec2
3 changed files with 82 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
{
"command": "SandcastleUniversalCommand",
"user": "__USER__",
"args": {
"name": "Release public Sonar build",
"oncall": "danielbuechele",
"steps": [
{
"name": "Clone from GitHub",
"required": true,
"shell": "git -c http.proxy=fwdproxy:8080 -c https.proxy=fwdproxy:8080 clone https://github.com/facebook/Sonar.git ../xplat/sonar-public"
},
{
"name": "Publish to github",
"required": true,
"shell": "curl -o RELEASE.json -x fwdproxy:8080 --silent --data '{ \"tag_name\": \"v__VERSION__\", \"target_commitish\": \"master\", \"name\": \"v__VERSION__\", \"body\": \"\", \"draft\": false, \"prerelease\": true}' https://api.github.com/repos/facebook/Sonar/releases?access_token=$(secrets_tool get SONAR_GITHUB_TOKEN)",
"shell_type": "SandcastleLocalShell"
}
]
},
"alias": "sonar_release_ios_public_build",
"capabilities": {
"vcs": "fbcode-fbsource",
"type": "lego-mac"
},
"hash": "master",
"report": [
{
"type": "email",
"report_to_owner": true
}
]
}