Set publish flag