Skip to content

Commit 9f103b2

Browse files
committed
Force autobuild update after snapshot update
1 parent ea75c83 commit 9f103b2

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/Uploader/Program.cs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,9 @@ static async Task Main(string host, string name, string password)
5151

5252
Console.WriteLine("待上传的文件数目:{0}", files.Count());
5353

54-
IEnumerable<Task> tasks =
55-
[
56-
UploadToServer(host, name, password, files),
57-
UploadSnapshotAssets(client, files),
58-
UpdateAutobuildAssets(client, files)
59-
];
60-
await Task.WhenAll(tasks);
54+
await UploadToServer(host, name, password, files);
55+
await UploadSnapshotAssets(client, files);
56+
await UpdateAutobuildAssets(client, files);
6157
}
6258

6359
async static Task UploadToServer(string host, string username, string password, IEnumerable<(string name, FileInfo file)> files)

0 commit comments

Comments
 (0)