decode publish pkg commnd