Files
flipper/scripts/public-ios-release.json
Pascal Hartig 781df776f2 Rename default branch references to main (#2689)
Summary:
I really hope I hit everything and didn't break anything that wasn't
referring to branch names.

Pull Request resolved: https://github.com/facebook/flipper/pull/2689

Test Plan:
_eyes

CI

|[Site Preview: flipper](https://our.intern.facebook.com/intern/staticdocs/eph/D30305789/V2/flipper/)

Reviewed By: timur-valiev

Differential Revision: D30305789

Pulled By: passy

fbshipit-source-id: 5daaa09250bb96bb50be679fc01dae86c666eb73
2021-08-13 15:00:39 -07:00

36 lines
1.1 KiB
JSON

{
"command": "SandcastleUniversalCommand",
"user": "__USER__",
"args": {
"name": "Release public Flipper 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/flipper.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\": \"main\", \"name\": \"v__VERSION__\", \"body\": \"\", \"draft\": false, \"prerelease\": true}' -H 'Authorization: token '$(secrets_tool get FLIPPER_GITHUB_TOKEN) https://api.github.com/repos/facebook/flipper/releases",
"shell_type": "SandcastleLocalShell"
}
]
},
"alias": "flipper_release_ios_public_build",
"capabilities": {
"vcs": "fbcode-fbsource",
"type": "lego-mac"
},
"hash": "main",
"report": [
{
"type": "email",
"report_to_owner": true
}
]
}