Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Possible error in plugin loading logic, says Succeed and Fail for @semantic-release/github #811

Closed
mattmazzola opened this issue Jun 4, 2018 · 5 comments

Comments

@mattmazzola
Copy link

mattmazzola commented Jun 4, 2018

Current behavior

See logs for Travis CI. It loads the plugin and then says "Succeed" and "Fail" which shouldn't both be possible.

image

Expected behavior

Should just print "Succeed" message.

Environment

@mattmazzola
Copy link
Author

Ah never mind... See fail is just the name of the plugin... 😅

@travi
Copy link
Member

travi commented Jun 5, 2018

@pvdlg seems like this has tripped people up a few times. i wonder if double-quoting the plugin names, or something similar, would be enough to clarify this for users.

@pvdlg
Copy link
Member

pvdlg commented Jun 5, 2018

Yes. The quotes seems a good idea. Do you want to make a PR?

@travi
Copy link
Member

travi commented Jun 5, 2018

sure, i could put something together tonight.

travi added a commit to travi/semantic-release that referenced this issue Jun 6, 2018
added quotes around plugin name to set it apart from the message. without the quotes, some consumers
were missunderstanding the successful loading of the `fail` plugin as a load failure and assuming
something was broken

resolves semantic-release#811
gr2m pushed a commit that referenced this issue Jun 6, 2018
added quotes around plugin name to set it apart from the message. without the quotes, some consumers
were missunderstanding the successful loading of the `fail` plugin as a load failure and assuming
something was broken

resolves #811
@semantic-release-bot
Copy link
Collaborator

🎉 This issue has been resolved in version 15.5.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

No branches or pull requests

4 participants