Update updated at field for $CHANGED_THEMES

This commit is contained in:
mauro 🤙 2024-10-12 22:21:20 +00:00
parent 48a00fd9eb
commit 4358e2e612
2 changed files with 2 additions and 2 deletions

View file

@ -56,5 +56,5 @@ jobs:
for theme in $CHANGED_THEMES; do
git add "themes/$theme/theme.json"
done
git commit -m "Update theme.json for $CHANGED_THEMES"
git commit -m "Update \`updated at\` field for \`$CHANGED_THEMES\`"
git push

View file

@ -27,7 +27,7 @@ def update_theme_date(theme_path):
# Write the changes back to theme.json
with open(theme_file, "w") as f:
json.dump(theme_data, f, indent=2)
json.dump(theme_data, f)
print(f"Updated `updatedAt` for {theme_path} to {theme_data['updatedAt']}")