Commit 1b1380f6 authored by aniket-engg's avatar aniket-engg Committed by Aniket

gulpfile updated

parent f259c0a2
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
'use strict'; 'use strict';
var { task } = require('gulp'); var { task } = require('gulp');
var fs = require('fs'); var fs = require('fs');
var exec = require('child_process').exec;
const util = require('util'); const util = require('util');
const promisifyExec = util.promisify(require('child_process').exec); const promisifyExec = util.promisify(require('child_process').exec);
...@@ -13,7 +12,7 @@ task('publishTag', async function () { ...@@ -13,7 +12,7 @@ task('publishTag', async function () {
await promisifyExec("git tag v"+ packageJSON.version +"; git push --tags"); 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 previous_version = process.argv[4];
let next_version = "v" + packageJSON.version; 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); 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);
......
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