I know that he came out against it, which is certainly true, but I do not recall a promise to veto.
During the campaign, he said he would oppose/veto, the exact same law that arrived on his desk.