3 # Commits updates to apps, allowing you to edit the commit messages
8 if [[ "$line" == *M*metadata/*.txt ]]; then
12 [[ "$l" == "Auto Name:"* ]] && name=${l##*:}
17 [ -d metadata/$id ] && extra=metadata/$id
18 [ -n "$name" ] && id="$name ($id)"
22 if [[ "$l" == "+Build:"* ]]; then
29 done < <(git diff HEAD -- "$file")
31 if [ $newbuild -eq 0 ]
35 message="Update $id to $version ($vercode)"
38 commands+=("git commit -m '$message' -e -v -- $file $extra")
40 done < <(git status --porcelain)
42 for cmd in "${commands[@]}"; do