When publishing, check that no more commits have been made.