Commit eab5c152 authored by 邓晓峰's avatar 邓晓峰

chore: packages

parent 199c392a
## [0.0.18](https://g.civnet.cn:8443/test/maintenance/compare/v0.0.17...v0.0.18) (2020-12-25)
## [0.0.17](https://g.civnet.cn:8443/test/maintenance/compare/v0.0.16...v0.0.17) (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.c0ae6d9ae1023bc8d360.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.9a523fcb486a45d5c2a9.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.c0ae6d9ae1023bc8d360.chunk.js",
"main.js": "/civbase/main.9a523fcb486a45d5c2a9.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.c0ae6d9ae1023bc8d360.chunk.js.gz": "/civbase/main.c0ae6d9ae1023bc8d360.chunk.js.gz",
"main.9a523fcb486a45d5c2a9.chunk.js.gz": "/civbase/main.9a523fcb486a45d5c2a9.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",
......
......@@ -62,8 +62,13 @@ webpack(webpackConfig, function (err, stats) {
await exec('npm', ['run', 'log']);
try {
// await fs.copy('./civbase', '../CivWebPublish/build/civbase');
const currentManifest = require('../../civbase/manifest.json');
console.log(currentManifest);
let prevManifest = null
if(( prevManifest= require('../CivWebPublish/build/civbase/manifest.json'))) {
const currentManifest = require('../../civbase/manifest.json');
console.log(prevManifest, currentManifest);
}
// console.log(currentManifest);
// const pkg = require('../../package.json');
// await fs.copy('./civbase/manifest.json', `../CivWebPublish/build/civbase/manifest_${pkg.version}.json`);
console.log('success!')
......
......@@ -70,7 +70,7 @@ webpack(webpackConfig, function (err, stats) {
//提交
function release() {
var currentManifest;
var prevManifest, currentManifest;
return regeneratorRuntime.async(function release$(_context2) {
while (1) {
switch (_context2.prev = _context2.next) {
......@@ -106,10 +106,16 @@ webpack(webpackConfig, function (err, stats) {
case 15:
try {
// await fs.copy('./civbase', '../CivWebPublish/build/civbase');
currentManifest = require('../../civbase/manifest.json');
console.log(currentManifest); // const pkg = require('../../package.json');
prevManifest = null;
if (prevManifest = require('../CivWebPublish/build/civbase/manifest.json')) {
currentManifest = require('../../civbase/manifest.json');
console.log(prevManifest, currentManifest);
} // 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);
......
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