move publish script to wiki repo