Move build number bump back to build phase

As noted in 7f24d22, I'd rather bump the build number only when
archiving, but it looks like I'm going to have to jump through a lot of
hoops in order to do that, so for right now, I'll just bump it every
time I build until I can get this all sorted out.