Automatic assignment of build numbers