Skip to content

Conversation

@heysailor
Copy link

Closes #17


module.exports = async ({ name, buildCmd, pkgRoot }, version, logger) => {
const basePath = pkgRoot || '.'
await updatePackageVersion(version, basePath, logger)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the purpose of updating the package.json version? What if there is no package.json because it's not an npm package?


logger.log(`Building ${name} Docker image using command: ${buildCmd}`)

execa(`${buildCmd}`, { stdio: 'inherit' })
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like this step could just be @semantic-release/exec?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants