add deploy mode in release.sh