Fail in the release script on lightweight tags.

Also warn on improper code signing and clean up formatting.