Commit 264d39ff authored by nanahira's avatar nanahira

fix

parent 9bccb1d0
Pipeline #39404 passed with stages
in 2 minutes and 46 seconds
...@@ -168,10 +168,14 @@ export class PackagerService extends ConsoleLogger { ...@@ -168,10 +168,14 @@ export class PackagerService extends ConsoleLogger {
buckets.push(newBucket); buckets.push(newBucket);
} }
} }
for (const bucket of buckets) { if (buckets.length > 1) {
new ArchiveTask(ArchiveType.Fulls, bucket.files).addToTask(archiveTasks); for (const bucket of buckets) {
new ArchiveTask(ArchiveType.Fulls, bucket.files).addToTask(archiveTasks);
}
this.log(`Created ${buckets.length} fulls archives.`);
} else {
this.log(`Only 1 fulls archive created, skipping.`);
} }
this.log(`Created ${buckets.length} fulls archives.`);
} }
// 更新包 // 更新包
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment