chore: atom ui publish

This commit is contained in:
xiaojunnuo
2025-12-30 00:58:54 +08:00
parent 80101b04e2
commit 7789ba4d36
3 changed files with 3 additions and 3 deletions

View File

@@ -169,7 +169,7 @@ async function uploadFile(url, headers, data) {
async function publishToAtomgit() {
const release = await createRelease()
const uploadUrl = await getUploadUrl()
const fileName = `ui.zip`
const fileName = `./packages/ui/certd-client/ui.zip`
const fileData = fs.createReadStream(fileName)
const contentLength = fs.statSync(fileName).size
uploadUrl.headers['Content-Length'] = contentLength