Skip to content

Commit

Permalink
sort keys to avoid commits that only change the order
Browse files Browse the repository at this point in the history
  • Loading branch information
julianladisch authored Oct 16, 2024
1 parent d255aae commit d64c363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
echo "Skipping, not found: $newfile"
continue
fi
jq -s '.[0] * .[1]' $oldfile $newfile > /tmp/new.json
jq -s --sort-keys '.[0] * .[1]' $oldfile $newfile > /tmp/new.json
FILESIZE=$(stat -c%s /tmp/new.json)
if [ "$FILESIZE" -lt "1000000" ] ; then
echo "Skipping $LANG, file size must be >= 1000000 but it is $FILESIZE"
Expand Down

0 comments on commit d64c363

Please sign in to comment.