Skip to content

feat(plugin): add plugin support for semantic-release #73

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 3 commits into from
May 8, 2017

Conversation

tusharmath
Copy link
Contributor

No description provided.

var path = require('path')

module.exports = function (pluginConfig, config, callback) {
ghPages.publish(path.join(__dirname, config.basePath), config, callback)
Copy link
Owner

Choose a reason for hiding this comment

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

I think it would be unexpected to have basePath be resolved relative to the plugin.js directory. I imagine it would make more sense to join it to process.cwd(). And you should be able to just pass it along directly to get that behavior.

@tusharmath
Copy link
Contributor Author

@tschaub made the changes

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants