Commit 03b92ca1 authored by Jason R. Coombs's avatar Jason R. Coombs

Protect against situation where the Git user e-mail is not configured. Ref #2057.

parent 3aeec3f0
......@@ -53,7 +53,15 @@ def bump_version():
subprocess.check_call(cmd)
def ensure_config():
"""
Double-check that Git has an e-mail configured.
"""
subprocess.check_output(['git', 'config', 'user.email'])
if __name__ == '__main__':
print("Cutting release at", get_version())
ensure_config()
update_changelog()
bump_version()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment