add more wordpress stuff #174

Merged
darkkirb merged 1 commit from more-wp-stuff into main 2023-04-27 18:42:51 +00:00
6 changed files with 25 additions and 1 deletions
Showing only changes of commit cc69b5f7af - Show all commits

View file

@ -0,0 +1,7 @@
{
"version": "12.0",
"pname": "jetpack",
"description": "Jetpack – WP Security, Backup, Speed, & Growth",
"url": "https://downloads.wordpress.org/plugin/jetpack.12.0.zip",
"sha256": "db722fd367ac1a2b4c5c47e213a16e9e06ad1a3e458257f708c55cdc69c51004"
}

View file

@ -17,3 +17,5 @@ wordpress-seo
ilab-media-tools
modern-images-wp
translatepress-multilingual
webp-express
jetpack

View file

@ -0,0 +1,7 @@
{
"version": "0.25.6",
"pname": "webp-express",
"description": "WebP Express",
"url": "https://downloads.wordpress.org/plugin/webp-express.0.25.6.zip",
"sha256": "d25bd3210ba4bf3149e10b9dccef2d98218ae57a6d33f67d485ae9fa85067f50"
}

View file

@ -1 +1,2 @@
sempress
twentytwentythree

View file

@ -0,0 +1,7 @@
{
"version": "1.1",
"pname": "twentytwentythree",
"description": "Twenty Twenty-Three",
"url": "http://downloads.wordpress.org/theme/twentytwentythree.1.1.zip",
"sha256": "7b3aec3fb05df4c6ca9d6dfc176a8dc14fdc2c5c96553f8ea217ca721fc5ff30"
}

View file

@ -7,6 +7,6 @@ set -ex
for plugin in $(cat themes); do
META=$(curl https://api.wordpress.org/themes/info/1.1/?action\=theme_information\&request\\\[slug\\\]\=$plugin)
SHA256=$(curl $(echo $META | jq -r '.download_link') | sha256sum | awk '{print $1}')
SHA256=$(curl -L $(echo $META | jq -r '.download_link') | sha256sum | awk '{print $1}')
echo $META | jq '{"version": .version, "pname": .slug, "description": .name, "url": .download_link, "sha256": $SHA256}' --arg SHA256 $SHA256 > $plugin.json
done