github-tools / github-release-notes

Node module to create a release or a changelog from a tag and uses issues or commits to creating the release notes.
https://github-tools.github.io/github-release-notes/
GNU General Public License v3.0
883 stars 324 forks source link

Wrong return code #222

Closed JuergenSimon closed 3 years ago

JuergenSimon commented 5 years ago

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.