You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Check for uncommitted changes specific to CHANGELOG.md
42
38
uncommitted_changes=$(git status --porcelain | grep "CHANGELOG.md" || echo "")
43
39
44
-
if [[ "$VERSION_BUMP" == "false" && -n "$uncommitted_changes" ]]; then
40
+
if [[ "${VERSION_BUMP}" == "false" && -n "${uncommitted_changes}" ]]; then
45
41
echo "Error: Changelog should only be updated alongside a version bump. Please restore the changelog."
46
42
exit 1
47
43
fi
48
44
49
-
if [[ "$VERSION_BUMP" == "true" && -z "$uncommitted_changes" ]]; then
45
+
if [[ "${VERSION_BUMP}" == "true" && -z "${uncommitted_changes}" ]]; then
50
46
echo "Error: Changelog must be updated alongside a version bump. Please run 'npm run gen-ipa-changelog' from the ipa directory and commit the changes."
0 commit comments