calculate sha code for upgrade package before pack it by dbstar