File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8484 - name : Download legacy screenshots from Contentful
8585 run : |
8686 mkdir -p dist/catalog-source/screenshots
87- python3 build/download_screenshots.py dist/catalog-source/screenshots
87+ for f in dist/catalog-source/product_*.json; do
88+ [ -f "$f" ] || continue
89+ jq -r '.[].screenshots[]?.value // empty' "$f" 2>/dev/null | sort -u | while read -r url; do
90+ name=$(basename "$url" | cut -d'?' -f1)
91+ [ -z "$name" ] && name="$(echo "$url" | md5sum | cut -c1-12).png"
92+ [ -f "dist/catalog-source/screenshots/$name" ] || wget -q "$url" -O "dist/catalog-source/screenshots/$name" || true
93+ done
94+ done
8895
8996 - name : Check if first v2 publish (R2 apps/ prefix empty)
9097 id : check_seed
Original file line number Diff line number Diff line change 33 "Repository" : " https://github.com/Websoft9/docker-library" ,
44 "Update URI" : " https://example.com/my-plugin/" ,
55 "Description" : " 200 application template for you installation." ,
6- "Version" : " " ,
6+ "Version" : " 0.7.14 " ,
77 "Requires at most" : " 1.5.0" ,
88 "Requires at least" : " 0.0.4" ,
99 "Author" : " Websoft9 Inc" ,
1010 "Author URI" : " https://www.websoft9.com/" ,
1111 "License" : " GPL v2 or later" ,
1212 "License URI" : " https://www.gnu.org/licenses/gpl-2.0.html"
13- }
13+ }
You can’t perform that action at this time.
0 commit comments