Update build.sh

add --rebase for pull