Match build number to branch

Mostly for my CI server #1523