Signing only if we are going to publish.