Publish task should check if everything was commited. Just in case.