Skip to content

Commit 24d9a5c

Browse files
test123456789012345lgaticaq
authored andcommitted
fix: output stdout
1 parent a6046e9 commit 24d9a5c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/publish.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ module.exports = async (pluginConfig, ctx) => {
2121
options.key = ctx.env.SSH_PRIVATE_KEY
2222
}
2323
const command = `export VERSION=${ctx.nextRelease.version};\n${pluginConfig.publishCmd}`
24-
await exec(command, options)
24+
const output = await exec(command, options)
25+
process.stdout.write(output)
2526
} catch (err) {
2627
ctx.message = err.message
2728
throw getError('ESSHCOMMAND', ctx)

0 commit comments

Comments
 (0)