mirror of
https://gitee.com/eolink_admin/postcat.git
synced 2024-12-02 11:47:57 +08:00
feat: add log
This commit is contained in:
parent
88ac25077e
commit
1b1a7c1bfc
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -43,6 +43,7 @@ jobs:
|
||||
run: |
|
||||
echo "${{ secrets.QINIU_ENV_JS }}" > qiniu_env.js
|
||||
yarn release
|
||||
dir ./release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
|
||||
@ -80,6 +81,7 @@ jobs:
|
||||
echo "${{ secrets.QINIU_ENV_JS }}" > qiniu_env.js
|
||||
yarn release:m1
|
||||
yarn release
|
||||
ls ./release
|
||||
|
||||
# clean up keychain and provisioning profile
|
||||
security delete-keychain $RUNNER_TEMP/app-signing.keychain-db
|
||||
|
10
upload.js
10
upload.js
@ -2,8 +2,6 @@ const qiniu = require('qiniu');
|
||||
const { AK, SK, bucket } = require('./qiniu_env.js');
|
||||
const package = require('./package.json');
|
||||
|
||||
console.log('AK, SK, bucket', AK, SK, bucket);
|
||||
|
||||
qiniu.conf.ACCESS_KEY = AK;
|
||||
qiniu.conf.SECRET_KEY = SK;
|
||||
|
||||
@ -43,12 +41,12 @@ const cpFile = (fromFile, toFile) =>
|
||||
});
|
||||
|
||||
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'].map((it) =>
|
||||
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'].map((it) =>
|
||||
// it.replace(/\?/, `${version}`)
|
||||
// );
|
||||
|
||||
const app = async () => {
|
||||
const uploadResult = await Promise.all(
|
||||
|
Loading…
Reference in New Issue
Block a user