mirror of
https://github.com/PaiGramTeam/GetToken.git
synced 2024-11-21 14:38:24 +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")) {
|
||||
console.log(`upload ${path}...`)
|
||||
await utils.uploadReleaseAsset(releaseInfo["upload_url"], path)
|
||||
await utils.uploadReleaseAsset(releaseInfo["upload_url"], `out/${path}`)
|
||||
}
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
}
|
||||
})()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user