Handle authentication issues more cleanly.
I recently had some authentication problems, and modified the script to handle them a bit better
In particular:
- we now abort if a token is passed but gitlab isn't available
- we call
gl.auth()
to try to catch missing authentication early on - we catch 403 exceptions thrown when trying to tag or release, print a message and abort