From 1b1380f6aa35b6f355e18f7dfd1347dd09ffcb0b Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Tue, 3 Dec 2019 12:45:40 +0530 Subject: [PATCH] gulpfile updated --- gulpfile.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index b205a52956..e0ce2c22af 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -3,7 +3,6 @@ 'use strict'; var { task } = require('gulp'); var fs = require('fs'); -var exec = require('child_process').exec; const util = require('util'); const promisifyExec = util.promisify(require('child_process').exec); @@ -13,7 +12,7 @@ task('publishTag', async function () { await promisifyExec("git tag v"+ packageJSON.version +"; git push --tags"); }); -task('updateChangelog', async function update() { +task('updateChangelog', async function () { let previous_version = process.argv[4]; let next_version = "v" + packageJSON.version; await promisifyExec("github-changes -o ethereum -r remix -a --file changes.md --only-pulls --use-commit-body --only-merges --between-tags " + previous_version + "..." + next_version);