mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-07 08:55:31 +02:00
Added tags, createdAt, updatedAt properties (#561)
* add new properties on submit theme * New GitHub Action for updating `updatedAt` * change rebuild_themes.py to update tags for color themes * Adding GitHub Action for updating all theme.json files (temporary) * Applying corrected themes.json file * fix: forgot to commit changes * Update theme.json metadata * Deleting actions not needed for merge --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
1d26f953a6
commit
ab50f51b95
63 changed files with 1240 additions and 64 deletions
|
@ -2,6 +2,7 @@ import os
|
|||
import re
|
||||
import argparse
|
||||
import json
|
||||
import time
|
||||
import uuid
|
||||
import sys
|
||||
import requests
|
||||
|
@ -352,6 +353,9 @@ Just joking, you can do whatever you want. You're the boss.
|
|||
"image": get_static_asset(theme_id, IMAGE_FILE),
|
||||
"author": author,
|
||||
"version": "1.0.0",
|
||||
"tags": [],
|
||||
"createdAt": time.strftime("%Y-%m-%d"),
|
||||
"updatedAt": time.strftime("%Y-%m-%d"),
|
||||
}
|
||||
|
||||
os.makedirs(f"themes/{theme_id}")
|
||||
|
@ -388,4 +392,4 @@ Just joking, you can do whatever you want. You're the boss.
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
main()
|
Loading…
Add table
Add a link
Reference in a new issue