We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b9cfe8 commit eab2b68Copy full SHA for eab2b68
src/publish.js
@@ -20,8 +20,7 @@ module.exports = async (pluginConfig, ctx) => {
20
if (ctx.env.SSH_PRIVATE_KEY) {
21
options.key = ctx.env.SSH_PRIVATE_KEY
22
}
23
- const command = `export VERSION=${ctx.nextRelease.version};\n${pluginConfig.publishCmd}`
24
- const output = await exec(command, options)
+ const output = await exec(pluginConfig.publishCmd, options)
25
process.stdout.write(output)
26
} catch (err) {
27
ctx.message = err.message
0 commit comments