Skip to content

Commit eab2b68

Browse files
committed
fix(publish): remove custom export version
1 parent 2b9cfe8 commit eab2b68

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/publish.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ module.exports = async (pluginConfig, ctx) => {
2020
if (ctx.env.SSH_PRIVATE_KEY) {
2121
options.key = ctx.env.SSH_PRIVATE_KEY
2222
}
23-
const command = `export VERSION=${ctx.nextRelease.version};\n${pluginConfig.publishCmd}`
24-
const output = await exec(command, options)
23+
const output = await exec(pluginConfig.publishCmd, options)
2524
process.stdout.write(output)
2625
} catch (err) {
2726
ctx.message = err.message

0 commit comments

Comments
 (0)