mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-07 17:05:31 +02:00
Update updated at
field for $CHANGED_THEMES
This commit is contained in:
parent
48a00fd9eb
commit
4358e2e612
2 changed files with 2 additions and 2 deletions
2
.github/workflows/update-theme-date.yml
vendored
2
.github/workflows/update-theme-date.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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']}")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue