diff options
-rw-r--r-- | gulpfile.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gulpfile.js b/gulpfile.js index 7463dd04..93276410 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 = []; |