mirror of
https://github.com/certd/certd.git
synced 2026-04-03 14:10:54 +08:00
chore: atom ui publish
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user