use conditional build for master and other branches