File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ module.exports = {
46
46
installCommand : ( ) => 'pnpm install --silent' ,
47
47
buildCommand : ( { isYarn, version } ) => 'pnpm build' ,
48
48
beforeCommitChanges : async ( { nextVersion, exec, dir } ) => {
49
- return new Promise ( resolve => {
49
+ return new Promise ( async resolve => {
50
50
const pkg = await readJson ( path . resolve ( dirname , './package.json' ) )
51
51
await commitChangelog ( pkg . version , nextVersion )
52
52
await exec ( 'pnpm fix' )
@@ -59,7 +59,7 @@ module.exports = {
59
59
`${ releaseType } release v${ version } ` ,
60
60
shouldRelease : ( ) => true ,
61
61
releases : {
62
- extractChangelog : ( { version, dir } ) => {
62
+ extractChangelog : async ( { version, dir } ) => {
63
63
const changelogPath = path . resolve ( dir , 'CHANGELOG.md' )
64
64
try {
65
65
const changelogFile = await fs . readFile ( changelogPath , 'utf8' )
You can’t perform that action at this time.
0 commit comments