post upgrade publish script to publish repos