Attempt to upgrade release scripts
Summary: We got a heads-up from the GitHub support that the way we use our access tokens is deprecated and will soon stop working. More details here: https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param/ Reviewed By: jknoxville Differential Revision: D23003718 fbshipit-source-id: e2a493be97cdc81161791a1bb07864853ca5049c
This commit is contained in:
committed by
Facebook GitHub Bot
parent
98a33cedd4
commit
45d1abf2d4
@@ -15,7 +15,7 @@
|
|||||||
"name": "Publish to github",
|
"name": "Publish to github",
|
||||||
"required": true,
|
"required": true,
|
||||||
"shell":
|
"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/flipper/releases?access_token=$(secrets_tool get SONAR_GITHUB_TOKEN)",
|
"curl -o RELEASE.json -x fwdproxy:8080 --silent --data '{ \"tag_name\": \"v__VERSION__\", \"target_commitish\": \"master\", \"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"
|
"shell_type": "SandcastleLocalShell"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user