Clean up release code for git