Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- FORCE=${1:-"NO"}
- VERSION=${2:-"v1.0.0"}
- TARGET=${3:-""}
- cd ~/flash-react-alerts
- if [ "$FORCE" = "YES" ]; then
- git reset --hard HEAD~1
- sh deploy $VERSION YES $TARGET
- else
- sh deploy $VERSION NO
- fi
- cd ~/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement