Sign only when publish