change branch and auto publish