From e61e5e131a7952b64f4b071ec375b96937fbe4dd Mon Sep 17 00:00:00 2001 From: codecalm Date: Tue, 7 Apr 2020 21:07:50 +0200 Subject: changelog-image fix --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gulpfile.js') diff --git a/gulpfile.js b/gulpfile.js index 7463dd0..9327641 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 = []; -- cgit v1.2.1