fix broken deploy script
add BUILDNUMBER despite normally ignoring it
add revision to tmp_deploy in order to deploy it