Skip to content

Commit

Permalink
fix(prepare): add missing version in the changelog (#954)
Browse files Browse the repository at this point in the history
Co-authored-by: shipjs <shipjs@test.com>
  • Loading branch information
Eunjae Lee and shipjs committed Jun 14, 2021
1 parent 0469dac commit 2a8e7c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/shipjs/src/flow/prepare.js
Expand Up @@ -95,6 +95,7 @@ async function prepare({
config,
revisionRange,
firstRelease,
nextVersion,
releaseCount,
dir,
dryRun,
Expand Down
6 changes: 5 additions & 1 deletion packages/shipjs/src/step/prepare/updateChangelog.js
Expand Up @@ -11,6 +11,7 @@ import { parseArgs } from '../../util';
export default ({
config,
firstRelease,
nextVersion,
releaseCount,
revisionRange,
dir,
Expand All @@ -37,7 +38,10 @@ export default ({
}).then(({ args, gitRawCommitsOpts, templateContext }) => {
runConventionalChangelog({
args,
templateContext,
templateContext: {
...templateContext,
version: nextVersion,
},
gitRawCommitsOpts,
resolve,
reject,
Expand Down

0 comments on commit 2a8e7c5

Please sign in to comment.