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
40
+
uncommitted_changes=$(git status --porcelain | grep "CHANGELOG.md" || echo "")
41
+
42
+
if [[ "$VERSION_BUMP" == "false" && -n "$uncommitted_changes" ]]; then
43
+
echo "Error: Changelog should only be updated alongside a version bump. Please restore the changelog."
44
+
exit 1
45
+
fi
46
+
47
+
if [[ "$VERSION_BUMP" == "true" && -z "$uncommitted_changes" ]]; then
48
+
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