Prevent upload from dirty git repo. Execute a build and dist before upload.