gulpfile updated

pull/7/head
aniket-engg 5 years ago committed by Aniket
parent f259c0a2df
commit 1b1380f6aa
  1. 3
      gulpfile.js

@ -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 () {
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);

Loading…
Cancel
Save