There was an error while loading. Please reload this page.
1 parent 49b1a32 commit e81a9f3Copy full SHA for e81a9f3
1 file changed
updater/cmd.bash
@@ -51,7 +51,7 @@ if [ "$COMMIT_AND_PUSH" = 'true' ]; then
51
git add data
52
git config user.name "$COMMIT_NAME"
53
git config user.email "$COMMIT_EMAIL"
54
- if ! git commit -m "$COMMIT_MESSAGE"; then
+ if [ -z "$(git status --porcelain | grep -v 'data/api/v2/meta/index.json')" ]; then
55
echo "The generated data doesn't bring any updates"
56
exit 2
57
fi
0 commit comments