[x][add buildversion function]