publish: fix syntax error

generated from commit 19cd362800c4a22ef18cfb53e2a6b3c456e3b6aa