refactor(update.sh): enhance script functionality and user feedback
Some checks failed
Deploy to production / deploy (push) Failing after 1s
Some checks failed
Deploy to production / deploy (push) Failing after 1s
- Improved error handling to ensure the script exits on failure. - Added a check for the current branch to ensure it is 'main' before proceeding. - Updated git commands for better state management and clarity in user feedback messages.
This commit is contained in: