publish -> commit