Last name

Devin • Due May 28th with Aubrynn Mae 🎀
I want my daughter to have my last name until me and the father decide to get married, if we do, for reasons that I'm not going to disclose. As long as he's on the birth certificate will he have to legally adopt her in order for the names to be switched to his?