The Wayback Machine - https://web.archive.org/web/20201020233446/https://github.com/github-tools/github-release-notes/issues/222
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

Wrong return code #222

Open
JuergenSimon opened this issue Oct 21, 2019 · 0 comments
Open

Wrong return code #222

JuergenSimon opened this issue Oct 21, 2019 · 0 comments

Comments

@JuergenSimon
Copy link

@JuergenSimon JuergenSimon commented Oct 21, 2019

When the token for github is not set in the environment, I would expect the gren command to fail with error code 1 (not 0).

What currently happens is, that an error message is emitted (You must provide the TOKEN) but the return code is still 0, meaning in a bash script for example I can not test properly whether the gren step in my release procedure worked or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.