diff --git a/gulpfile.js b/gulpfile.js index 7463dd041..932764109 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -486,7 +486,7 @@ gulp.task('changelog-image', function (cb) { newVersion = argv['new-version'] || `${p.version}`; if (version) { - cp.exec(`git diff v${version} v${newVersion} --name-status`, function (err, ret) { + cp.exec(`git diff v${version} HEAD --name-status`, function (err, ret) { let newIcons = [];