From 75d99947fb90caf976466fbf6d65c7d25a41492d Mon Sep 17 00:00:00 2001 From: Dmitry Ivakhnenko Date: Fri, 22 Nov 2019 14:12:08 +0300 Subject: [PATCH] fix updating the changelog with npm (#425) --- packages/shipjs/src/step/prepare/updateChangelog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/shipjs/src/step/prepare/updateChangelog.js b/packages/shipjs/src/step/prepare/updateChangelog.js index 2ca21212..05f1dc91 100644 --- a/packages/shipjs/src/step/prepare/updateChangelog.js +++ b/packages/shipjs/src/step/prepare/updateChangelog.js @@ -19,7 +19,7 @@ export default ({ config, firstRelease, releaseCount, dir, dryRun }) => .join(' '); const execPath = path.resolve( require.main.filename, - '../../node_modules/.bin/conventional-changelog' + '../../../../node_modules/.bin/conventional-changelog' ); run({ command: `${execPath} ${args}`, dir, dryRun }); }