add more wordpress stuff #174
6 changed files with 25 additions and 1 deletions
7
web/wordpress-plugins/jetpack.json
Normal file
7
web/wordpress-plugins/jetpack.json
Normal 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"
|
||||
}
|
|
@ -17,3 +17,5 @@ wordpress-seo
|
|||
ilab-media-tools
|
||||
modern-images-wp
|
||||
translatepress-multilingual
|
||||
webp-express
|
||||
jetpack
|
||||
|
|
7
web/wordpress-plugins/webp-express.json
Normal file
7
web/wordpress-plugins/webp-express.json
Normal 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"
|
||||
}
|
|
@ -1 +1,2 @@
|
|||
sempress
|
||||
twentytwentythree
|
||||
|
|
7
web/wordpress-themes/twentytwentythree.json
Normal file
7
web/wordpress-themes/twentytwentythree.json
Normal 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"
|
||||
}
|
|
@ -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
|
||||
|
|
Reference in a new issue