feat: update upload.js

This commit is contained in:
夜鹰 2022-07-07 16:02:21 +08:00
parent dd7216cc3e
commit 955cc9ece8

View File

@ -46,7 +46,9 @@ const version = package.version;
// const fileList = ['release/eoapi-Setup-?.exe', 'release/eoapi-?.dmg', 'release/eoapi-?-arm64.dmg'].map((it) =>
// it.replace(/\?/, `${version}`)
// );
const fileList = ['releass/eoapi-Setup-?.png', 'releass/eoapi-?.png', 'releass/eoapi-?-arm64.png'];
const fileList = ['releass/eoapi-Setup-?.png', 'releass/eoapi-?.png', 'releass/eoapi-?-arm64.png'].map((it) =>
it.replace(/\?/, `${version}`)
);
const app = async () => {
const uploadResult = await Promise.all(