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

pass tag and optional arguments to hook and stop if pre-release hook fails #651

Merged
merged 4 commits into from
May 3, 2017

Conversation

spacewander
Copy link
Collaborator

This pr is based on the work done in #192.
It is expected to fix #650 and other problem.

@breneser
Could you give this branch a try, and confirm whether the problems are fixed?

xdbr and others added 3 commits May 2, 2017 14:35
@breneser
Copy link

breneser commented May 2, 2017

@spacewander Seems to be working just fine. A message on pre-release failure would be more descriptive IMHO. Something like "pre-release hook failed! Cancelling release"

Thanks for taking time to implement this.

@spacewander
Copy link
Collaborator Author

@breneser
Just add a notification for pre-release hook.
Would you like to try it again?

@breneser
Copy link

breneser commented May 2, 2017

@spacewander Yes, this works very nicely. Only one thing though, I think message should be written to stderr rather than stdout ?

@spacewander spacewander force-pushed the pass-arguments-to-hooks branch from 38c1c9c to 2731092 Compare May 3, 2017 01:54
@spacewander
Copy link
Collaborator Author

@breneser
My thoughless. Now the message will be sent to stderr.

@breneser
Copy link

breneser commented May 3, 2017

@spacewander Great, thanks :)

@breneser
Copy link

breneser commented May 3, 2017

@spacewander any idea when this would be merged in ?

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.

Stop release if pre-release hook fails
3 participants