Skip to content
Permalink
Browse files

fix: fix changelog generation

  • Loading branch information
MarshallOfSound committed May 3, 2018
1 parent 131665c commit faeec5a6aef1c1af9b4676d967fd28ddd702f2ae
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/bump.js
@@ -39,6 +39,7 @@ const ELECTRON_FORGE_PREFIX = '@electron-forge/';
for (const dir of dirsToUpdate) {
const pjPath = path.resolve(dir, 'package.json');
const existingPJ = await fs.readJson(pjPath);
lastVersion = existingPJ.version;
existingPJ.version = version;
for (const type of ['dependencies', 'devDependencies', 'optionalDependencies']) {
for (const depKey in existingPJ[type]) {
@@ -53,7 +54,6 @@ const ELECTRON_FORGE_PREFIX = '@electron-forge/';
childProcess.execSync(`git add "${path.relative(BASE_DIR, pjPath)}"`, {
cwd: BASE_DIR,
});
lastVersion = existingPJ.version;
}

childProcess.execSync(`git commit -m "Version Bump: ${version}"`, {

0 comments on commit faeec5a

Please sign in to comment.
You can’t perform that action at this time.