3 # Commits updates to apps, allowing you to edit the commit messages
8 if [[ "$line" == *M*metadata/*.txt ]]; then
16 if [ "$id" == "$arg" ]; then
24 [ -d metadata/$id ] && extra=metadata/$id
27 if [[ "$l" == "Auto Name:"* ]]; then
33 [ -n "$name" ] && id="$name ($id)"
37 if [[ "$l" == "+Build:"* ]]; then
44 done < <(git diff HEAD -- "$file")
46 if [ $newbuild -eq 0 ]; then
49 message="Update $id to $version ($vercode)"
52 commands+=("git commit -m '$message' -e -v -- $file $extra")
54 done < <(git status --porcelain)
56 for cmd in "${commands[@]}"; do