Commit 3c875d57 authored by 邓晓峰's avatar 邓晓峰

chore: packages

parent 8cbaa0d4
## [0.0.17](https://g.civnet.cn:8443/test/maintenance/compare/v0.0.16...v0.0.17) (2020-12-25)
## [0.0.16](https://g.civnet.cn:8443/test/maintenance/compare/v0.0.15...v0.0.16) (2020-12-25)
......
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="mobile-web-app-capable" content="yes"><script src="//cdn-service.datav.aliyun.com/datav-static/2.37.6_4/libs/event.js"></script><script type="text/javascript">window.share={event:new EventEmitter},window.share.event.setMaxListeners(50),window.umi_plugin_ant_themeVar=[{key:"dark",fileName:"dark.css",theme:"dark"},{key:"dust",fileName:"dust.css",modifyVars:{"@primary-color":"#F5222D"}},{key:"volcano",fileName:"volcano.css",modifyVars:{"@primary-color":"#FA541C"}},{key:"sunset",fileName:"sunset.css",modifyVars:{"@primary-color":"#FAAD14"}},{key:"cyan",fileName:"cyan.css",modifyVars:{"@primary-color":"#13C2C2"}},{key:"green",fileName:"green.css",modifyVars:{"@primary-color":"#52C41A"}},{key:"geekblue",fileName:"geekblue.css",modifyVars:{"@primary-color":"#2F54EB"}},{key:"purple",fileName:"purple.css",modifyVars:{"@primary-color":"#722ED1"}},{key:"dust",theme:"dark",fileName:"dark-dust.css",modifyVars:{"@primary-color":"#F5222D"}},{key:"volcano",theme:"dark",fileName:"dark-volcano.css",modifyVars:{"@primary-color":"#FA541C"}},{key:"sunset",theme:"dark",fileName:"dark-sunset.css",modifyVars:{"@primary-color":"#FAAD14"}},{key:"cyan",theme:"dark",fileName:"dark-cyan.css",modifyVars:{"@primary-color":"#13C2C2"}},{key:"green",theme:"dark",fileName:"dark-green.css",modifyVars:{"@primary-color":"#52C41A"}},{key:"geekblue",theme:"dark",fileName:"dark-geekblue.css",modifyVars:{"@primary-color":"#2F54EB"}},{key:"purple",theme:"dark",fileName:"dark-purple.css",modifyVars:{"@primary-color":"#722ED1"}}]</script></head><body><noscript>If you're seeing this message, that means <strong>JavaScript has been disabled on your browser</strong>, please <strong>enable JS</strong> to make this app work.</noscript><div id="app"></div><script type="text/javascript" src="/civbase/runtime.5f69b5c88e51b93a1e42.js"></script><script type="text/javascript" src="/civbase/npm.ant-design.88fb3521a9fd8195c3fb.chunk.js"></script><script type="text/javascript" src="/civbase/npm.antd.f5f2b68def59e373e5b4.chunk.js"></script><script type="text/javascript" src="/civbase/npm.babel.528d12579b83b5191533.chunk.js"></script><script type="text/javascript" src="/civbase/npm.lodash.287cbc31ef226f037287.chunk.js"></script><script type="text/javascript" src="/civbase/npm.moment.b3695d6e3dd0f7c7a18b.chunk.js"></script><script type="text/javascript" src="/civbase/npm.react-use.f6c78f3055faacf7a092.chunk.js"></script><script type="text/javascript" src="/civbase/npm.react-app-polyfill.2f4229475bedddac6a47.chunk.js"></script><script type="text/javascript" src="/civbase/npm.rc-util.9c7a1977db01ca74d5e0.chunk.js"></script><script type="text/javascript" src="/civbase/npm.axios.70530bb128bc32b32304.chunk.js"></script><script type="text/javascript" src="/civbase/main.586f698aee0ae1c17b4c.chunk.js"></script></body></html>
\ No newline at end of file
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="mobile-web-app-capable" content="yes"><script src="//cdn-service.datav.aliyun.com/datav-static/2.37.6_4/libs/event.js"></script><script type="text/javascript">window.share={event:new EventEmitter},window.share.event.setMaxListeners(50),window.umi_plugin_ant_themeVar=[{key:"dark",fileName:"dark.css",theme:"dark"},{key:"dust",fileName:"dust.css",modifyVars:{"@primary-color":"#F5222D"}},{key:"volcano",fileName:"volcano.css",modifyVars:{"@primary-color":"#FA541C"}},{key:"sunset",fileName:"sunset.css",modifyVars:{"@primary-color":"#FAAD14"}},{key:"cyan",fileName:"cyan.css",modifyVars:{"@primary-color":"#13C2C2"}},{key:"green",fileName:"green.css",modifyVars:{"@primary-color":"#52C41A"}},{key:"geekblue",fileName:"geekblue.css",modifyVars:{"@primary-color":"#2F54EB"}},{key:"purple",fileName:"purple.css",modifyVars:{"@primary-color":"#722ED1"}},{key:"dust",theme:"dark",fileName:"dark-dust.css",modifyVars:{"@primary-color":"#F5222D"}},{key:"volcano",theme:"dark",fileName:"dark-volcano.css",modifyVars:{"@primary-color":"#FA541C"}},{key:"sunset",theme:"dark",fileName:"dark-sunset.css",modifyVars:{"@primary-color":"#FAAD14"}},{key:"cyan",theme:"dark",fileName:"dark-cyan.css",modifyVars:{"@primary-color":"#13C2C2"}},{key:"green",theme:"dark",fileName:"dark-green.css",modifyVars:{"@primary-color":"#52C41A"}},{key:"geekblue",theme:"dark",fileName:"dark-geekblue.css",modifyVars:{"@primary-color":"#2F54EB"}},{key:"purple",theme:"dark",fileName:"dark-purple.css",modifyVars:{"@primary-color":"#722ED1"}}]</script></head><body><noscript>If you're seeing this message, that means <strong>JavaScript has been disabled on your browser</strong>, please <strong>enable JS</strong> to make this app work.</noscript><div id="app"></div><script type="text/javascript" src="/civbase/runtime.5f69b5c88e51b93a1e42.js"></script><script type="text/javascript" src="/civbase/npm.ant-design.88fb3521a9fd8195c3fb.chunk.js"></script><script type="text/javascript" src="/civbase/npm.antd.f5f2b68def59e373e5b4.chunk.js"></script><script type="text/javascript" src="/civbase/npm.babel.528d12579b83b5191533.chunk.js"></script><script type="text/javascript" src="/civbase/npm.lodash.287cbc31ef226f037287.chunk.js"></script><script type="text/javascript" src="/civbase/npm.moment.b3695d6e3dd0f7c7a18b.chunk.js"></script><script type="text/javascript" src="/civbase/npm.react-use.f6c78f3055faacf7a092.chunk.js"></script><script type="text/javascript" src="/civbase/npm.react-app-polyfill.2f4229475bedddac6a47.chunk.js"></script><script type="text/javascript" src="/civbase/npm.rc-util.9c7a1977db01ca74d5e0.chunk.js"></script><script type="text/javascript" src="/civbase/npm.axios.70530bb128bc32b32304.chunk.js"></script><script type="text/javascript" src="/civbase/main.c0ae6d9ae1023bc8d360.chunk.js"></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff was suppressed by a .gitattributes entry.
{
"main.js": "/civbase/main.586f698aee0ae1c17b4c.chunk.js",
"main.js": "/civbase/main.c0ae6d9ae1023bc8d360.chunk.js",
"npm.ant-design.js": "/civbase/npm.ant-design.88fb3521a9fd8195c3fb.chunk.js",
"npm.antd.js": "/civbase/npm.antd.f5f2b68def59e373e5b4.chunk.js",
"npm.axios.js": "/civbase/npm.axios.70530bb128bc32b32304.chunk.js",
......@@ -19,7 +19,7 @@
"images/6.jpg": "/civbase/images/6.jpg",
"images/icon.png": "/civbase/images/icon.png",
"index.html": "/civbase/index.html",
"main.586f698aee0ae1c17b4c.chunk.js.gz": "/civbase/main.586f698aee0ae1c17b4c.chunk.js.gz",
"main.c0ae6d9ae1023bc8d360.chunk.js.gz": "/civbase/main.c0ae6d9ae1023bc8d360.chunk.js.gz",
"npm.ant-design.88fb3521a9fd8195c3fb.chunk.js.gz": "/civbase/npm.ant-design.88fb3521a9fd8195c3fb.chunk.js.gz",
"npm.antd.f5f2b68def59e373e5b4.chunk.js.gz": "/civbase/npm.antd.f5f2b68def59e373e5b4.chunk.js.gz",
"npm.axios.70530bb128bc32b32304.chunk.js.gz": "/civbase/npm.axios.70530bb128bc32b32304.chunk.js.gz",
......
......@@ -61,9 +61,11 @@ webpack(webpackConfig, function (err, stats) {
await exec('np', ['patch', '--no-publish', '--no-cleanup', '--yolo', '-n']);
await exec('npm', ['run', 'log']);
try {
await fs.copy('./civbase', '../CivWebPublish/build/civbase');
const pkg = require('../../package.json');
await fs.copy('./civbase/manifest.json', `../CivWebPublish/build/civbase/manifest_${pkg.version}.json`);
// await fs.copy('./civbase', '../CivWebPublish/build/civbase');
const currentManifest = require('../../civbase/manifest.json');
console.log(currentManifest);
// const pkg = require('../../package.json');
// await fs.copy('./civbase/manifest.json', `../CivWebPublish/build/civbase/manifest_${pkg.version}.json`);
console.log('success!')
} catch (err) {
console.error(err)
......
......@@ -70,7 +70,7 @@ webpack(webpackConfig, function (err, stats) {
//提交
function release() {
var pkg;
var currentManifest;
return regeneratorRuntime.async(function release$(_context2) {
while (1) {
switch (_context2.prev = _context2.next) {
......@@ -104,31 +104,23 @@ webpack(webpackConfig, function (err, stats) {
return regeneratorRuntime.awrap(exec('npm', ['run', 'log']));
case 15:
_context2.prev = 15;
_context2.next = 18;
return regeneratorRuntime.awrap(fs.copy('./civbase', '../CivWebPublish/build/civbase'));
case 18:
pkg = require('../../package.json');
_context2.next = 21;
return regeneratorRuntime.awrap(fs.copy('./civbase/manifest.json', "../CivWebPublish/build/civbase/manifest_".concat(pkg.version, ".json")));
case 21:
console.log('success!');
_context2.next = 27;
break;
case 24:
_context2.prev = 24;
_context2.t1 = _context2["catch"](15);
console.error(_context2.t1);
case 27:
try {
// await fs.copy('./civbase', '../CivWebPublish/build/civbase');
currentManifest = require('../../civbase/manifest.json');
console.log(currentManifest); // const pkg = require('../../package.json');
// await fs.copy('./civbase/manifest.json', `../CivWebPublish/build/civbase/manifest_${pkg.version}.json`);
console.log('success!');
} catch (err) {
console.error(err);
}
case 16:
case "end":
return _context2.stop();
}
}
}, null, null, [[0, 9], [15, 24]]);
}, null, null, [[0, 9]]);
} //发布
//比较上一个版本资源与当前资源文件指纹比对
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment