Changeset 3248778
- Timestamp:
- 03/01/2025 06:52:37 AM (13 months ago)
- Location:
- sparkling-appcast
- Files:
-
- 2 edited
-
tags/0.7/readme.txt (modified) (5 diffs)
-
trunk/readme.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sparkling-appcast/tags/0.7/readme.txt
r3248777 r3248778 15 15 Sparkling Appcast exposes a new shortcode to display a list of app builds. 16 16 17 ` ``17 ` 18 18 [sappcast_display_builds sappcast_channel="{channel-id-or-slug}"] 19 ` ``19 ` 20 20 21 21 Configure Sparkle to ingest the appcast.xml at https://your.site/wp-json/sparkling-appcast/v1/appcast.xml. 22 22 You will see something like the following XML. 23 23 24 ` ``xml24 ` 25 25 <rss xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"> 26 26 <channel> … … 48 48 </channel> 49 49 </rss> 50 ` ``50 ` 51 51 52 52 ## Configuration … … 72 72 ### 1. Uploading Asset 73 73 74 ` ``bash74 ` 75 75 curl --location "localhost:8088/wp-json/wp/v2/media?status=publish&title=MyApp%20${VERSION}%20(${BUILD_NUMBER})" \ 76 76 --header "Content-Disposition: attachment; filename=\"myapp_v${VERSION}_${BUILD_NUMBER}.zip\"" \ … … 78 78 --user "${USER}:${APPLICATION_PASSWORD}" \ 79 79 --data-binary '@/path/to/asset.zip' 80 ` ``80 ` 81 81 82 82 ### 2. Create Build Draft 83 83 84 ` ``bash84 ` 85 85 curl --location 'localhost:8088/wp-json/wp/v2/sappcast_app_build' \ 86 86 --header 'Content-Type: application/json' \ … … 97 97 "status": "draft" 98 98 }' 99 ` ``99 ` 100 100 101 101 ### 3. Publish Build -
sparkling-appcast/trunk/readme.txt
r3248777 r3248778 15 15 Sparkling Appcast exposes a new shortcode to display a list of app builds. 16 16 17 ` ``17 ` 18 18 [sappcast_display_builds sappcast_channel="{channel-id-or-slug}"] 19 ` ``19 ` 20 20 21 21 Configure Sparkle to ingest the appcast.xml at https://your.site/wp-json/sparkling-appcast/v1/appcast.xml. 22 22 You will see something like the following XML. 23 23 24 ` ``xml24 ` 25 25 <rss xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"> 26 26 <channel> … … 48 48 </channel> 49 49 </rss> 50 ` ``50 ` 51 51 52 52 ## Configuration … … 72 72 ### 1. Uploading Asset 73 73 74 ` ``bash74 ` 75 75 curl --location "localhost:8088/wp-json/wp/v2/media?status=publish&title=MyApp%20${VERSION}%20(${BUILD_NUMBER})" \ 76 76 --header "Content-Disposition: attachment; filename=\"myapp_v${VERSION}_${BUILD_NUMBER}.zip\"" \ … … 78 78 --user "${USER}:${APPLICATION_PASSWORD}" \ 79 79 --data-binary '@/path/to/asset.zip' 80 ` ``80 ` 81 81 82 82 ### 2. Create Build Draft 83 83 84 ` ``bash84 ` 85 85 curl --location 'localhost:8088/wp-json/wp/v2/sappcast_app_build' \ 86 86 --header 'Content-Type: application/json' \ … … 97 97 "status": "draft" 98 98 }' 99 ` ``99 ` 100 100 101 101 ### 3. Publish Build
Note: See TracChangeset
for help on using the changeset viewer.