mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 13:22:55 +08:00
Give deploy uploads more time before dying.
This commit is contained in:
parent
31c41e3e14
commit
c192de9ebd
@ -198,7 +198,7 @@ namespace osu.Desktop.Deploy
|
|||||||
write($"- Creating release {version}...", ConsoleColor.Yellow);
|
write($"- Creating release {version}...", ConsoleColor.Yellow);
|
||||||
var req = new JsonWebRequest<GitHubRelease>($"{GitHubApiEndpoint}")
|
var req = new JsonWebRequest<GitHubRelease>($"{GitHubApiEndpoint}")
|
||||||
{
|
{
|
||||||
Method = HttpMethod.POST
|
Method = HttpMethod.POST,
|
||||||
};
|
};
|
||||||
req.AddRaw(JsonConvert.SerializeObject(new GitHubRelease
|
req.AddRaw(JsonConvert.SerializeObject(new GitHubRelease
|
||||||
{
|
{
|
||||||
@ -215,6 +215,7 @@ namespace osu.Desktop.Deploy
|
|||||||
var upload = new WebRequest(assetUploadUrl, Path.GetFileName(a))
|
var upload = new WebRequest(assetUploadUrl, Path.GetFileName(a))
|
||||||
{
|
{
|
||||||
Method = HttpMethod.POST,
|
Method = HttpMethod.POST,
|
||||||
|
Timeout = 240000,
|
||||||
ContentType = "application/octet-stream",
|
ContentType = "application/octet-stream",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user