Properly painting the short block

I use regular old engine primer and then engine paint. Sometimes I just use the color and skip the primer like the factory did.
Clean clean clean... that's all I can recommend for keeping the paint on.
Maybe torch it to cure it faster.