Skip to content
Permalink
Browse files

fix: remove unneeded 2 second timeout

  • Loading branch information
MarshallOfSound committed May 3, 2018
1 parent f8c6b7f commit ab64142ffd0874b07b2b25afd2505015fb29e458
Showing with 11 additions and 12 deletions.
  1. +11 −12 tools/bump.js
@@ -62,18 +62,17 @@ const ELECTRON_FORGE_PREFIX = '@electron-forge/';
childProcess.execSync(`git tag v${version}`, {
cwd: BASE_DIR,
});
setTimeout(() => {
childProcess.execSync(`node_modules/.bin/changelog --tag=v${lastVersion}`, {
cwd: BASE_DIR,
});

require('../ci/fix-changelog');
childProcess.execSync(`node_modules/.bin/changelog --tag=v${lastVersion}`, {
cwd: BASE_DIR,
});

childProcess.execSync('git add CHANGELOG.md', {
cwd: BASE_DIR,
});
childProcess.execSync('git commit -m "Update CHANGELOG.md"', {
cwd: BASE_DIR,
});
}, 2000);
require('../ci/fix-changelog');

childProcess.execSync('git add CHANGELOG.md', {
cwd: BASE_DIR,
});
childProcess.execSync('git commit -m "Update CHANGELOG.md"', {
cwd: BASE_DIR,
});
})().catch(console.error);

0 comments on commit ab64142

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