refactor: 增量更新

pull/67/head
xiaojunnuo 4 years ago
parent 89bf01b5ca
commit 52c07106b9

@ -20,7 +20,8 @@ exports.default = async function (context) {
const partUpdateUrl = 'http://dev-sidecar.docmirror.cn/update/' + partUpdateFile const partUpdateUrl = 'http://dev-sidecar.docmirror.cn/update/' + partUpdateFile
fs.appendFile(path.join(context.outDir, latest), `partPackage: ${partUpdateUrl}\nreleaseNotes: \n - 升级日志`, (err) => { const latestFilePath = path.join(context.outDir, latest)
fs.appendFile(latestFilePath, `\npartPackage: ${partUpdateUrl}\nreleaseNotes: \n - 升级日志`, (err) => {
if (err) { if (err) {
console.log('修改latest 失败') console.log('修改latest 失败')
} }

@ -49,7 +49,7 @@ module.exports = {
productName: 'DevSidecar', productName: 'DevSidecar',
// eslint-disable-next-line no-template-curly-in-string // eslint-disable-next-line no-template-curly-in-string
artifactName: 'DevSidecar-${version}.${ext}', artifactName: 'DevSidecar-${version}.${ext}',
copyright: 'Copyright © 2020', copyright: 'Copyright © 2020-2021 Greper',
nsis: { nsis: {
oneClick: false, oneClick: false,
perMachine: true, perMachine: true,

Loading…
Cancel
Save