We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72a7695 commit b93acadCopy full SHA for b93acad
scripts/deploy-marketplace.ts
@@ -2,6 +2,7 @@
2
// 2. upload to s3
3
4
import { mimeMap } from '@/s3/const';
5
+import { pkg } from '@/utils/zip';
6
import { UploadToolsS3Path } from '@tool/constants';
7
import { $, S3Client } from 'bun';
8
import { glob } from 'fs/promises';
@@ -113,6 +114,11 @@ async function main() {
113
114
}
115
116
console.log('✅ Assets uploaded successfully');
117
+
118
+ await pkg('./dist/pkgs', './dist/pkgs.pkg');
119
+ await client.write(`/pkgs.zip`, Bun.file('./dist/pkgs.pkg'));
120
121
+ console.log('✅ pkgs.zip uploaded successfully');
122
123
124
if (import.meta.main) {
0 commit comments