added a publish script [skip ci]