fix: 色彩饱和度+10% (品牌+5维度+功能色)+微信登录按钮全宽+图标
This commit is contained in:
+15
-14
@@ -1,33 +1,34 @@
|
|||||||
const ci = require('miniprogram-ci');
|
const ci = require('miniprogram-ci');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
const fs = require('fs');
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
|
const version = process.argv[2] || '1.0.0';
|
||||||
|
const desc = process.argv[3] || 'default';
|
||||||
|
const projectPath = path.resolve(__dirname, '../client/dist/build/mp-weixin');
|
||||||
|
|
||||||
const project = new ci.Project({
|
const project = new ci.Project({
|
||||||
appid: 'wxdad62baf4ccd09e3',
|
appid: 'wxdad62baf4ccd09e3',
|
||||||
type: 'miniProgram',
|
type: 'miniProgram',
|
||||||
projectPath: path.resolve(__dirname, '../client/dist/build/mp-weixin'),
|
projectPath,
|
||||||
privateKeyPath: path.resolve('/root/Hermes-workspace/宇之然AI维度appid/private.wxdad62baf4ccd09e3.key'),
|
privateKeyPath: '/root/Hermes-workspace/宇之然AI维度appid/private.wxdad62baf4ccd09e3.key',
|
||||||
ignores: ['node_modules/**/*'],
|
ignores: ['node_modules/**/*'],
|
||||||
});
|
});
|
||||||
|
|
||||||
const version = process.argv[2] || '1.0.0';
|
console.log('START_UPLOAD');
|
||||||
const desc = process.argv[3] || 'default';
|
console.log('version=' + version + ' desc=' + desc);
|
||||||
|
|
||||||
console.log('→ 正在上传微信小程序...');
|
|
||||||
const uploadResult = await ci.upload({
|
const uploadResult = await ci.upload({
|
||||||
project,
|
project,
|
||||||
version,
|
version,
|
||||||
desc,
|
desc,
|
||||||
setting: {
|
setting: { es6: true, es7: true, minify: true, autoPrefixWXSS: true },
|
||||||
es6: true,
|
|
||||||
es7: true,
|
|
||||||
minify: true,
|
|
||||||
autoPrefixWXSS: true,
|
|
||||||
},
|
|
||||||
onProgressUpdate: console.log,
|
|
||||||
});
|
});
|
||||||
console.log('✅ 上传成功!', uploadResult);
|
|
||||||
|
const resultStr = JSON.stringify(uploadResult);
|
||||||
|
fs.writeFileSync('/tmp/upload-result.json', resultStr);
|
||||||
|
console.log('SUCCESS:' + resultStr);
|
||||||
})().catch(err => {
|
})().catch(err => {
|
||||||
console.error('❌ 上传失败:', err);
|
console.log('ERROR:' + err.message);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
});
|
});
|
||||||
Reference in New Issue
Block a user