mirror of
https://github.com/PaiGramTeam/GetToken.git
synced 2024-11-22 06:57:54 +00:00
fix post build script
This commit is contained in:
parent
ddf1e96e9b
commit
b15db8cdc3
3
.github/postbuild.js
vendored
3
.github/postbuild.js
vendored
@ -10,9 +10,10 @@ const utils = require("./utils");
|
|||||||
}
|
}
|
||||||
for (const path of fs.readdirSync("out")) {
|
for (const path of fs.readdirSync("out")) {
|
||||||
console.log(`upload ${path}...`)
|
console.log(`upload ${path}...`)
|
||||||
await utils.uploadReleaseAsset(releaseInfo["upload_url"], path)
|
await utils.uploadReleaseAsset(releaseInfo["upload_url"], `out/${path}`)
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
}
|
}
|
||||||
})()
|
})()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user