Plugin Directory

Changeset 3248778


Ignore:
Timestamp:
03/01/2025 06:52:37 AM (13 months ago)
Author:
usielriedl
Message:

Fixes readme.txt II

Location:
sparkling-appcast
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sparkling-appcast/tags/0.7/readme.txt

    r3248777 r3248778  
    1515Sparkling Appcast exposes a new shortcode to display a list of app builds.
    1616
    17 ```
     17`
    1818[sappcast_display_builds sappcast_channel="{channel-id-or-slug}"]
    19 ```
     19`
    2020
    2121Configure Sparkle to ingest the appcast.xml at https://your.site/wp-json/sparkling-appcast/v1/appcast.xml.
    2222You will see something like the following XML.
    2323
    24 ```xml
     24`
    2525<rss xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
    2626    <channel>
     
    4848    </channel>
    4949</rss>
    50 ```
     50`
    5151
    5252## Configuration
     
    7272### 1. Uploading Asset
    7373
    74 ```bash
     74`
    7575curl --location "localhost:8088/wp-json/wp/v2/media?status=publish&title=MyApp%20${VERSION}%20(${BUILD_NUMBER})" \
    7676    --header "Content-Disposition: attachment; filename=\"myapp_v${VERSION}_${BUILD_NUMBER}.zip\"" \
     
    7878    --user "${USER}:${APPLICATION_PASSWORD}" \
    7979    --data-binary '@/path/to/asset.zip'
    80 ```
     80`
    8181
    8282### 2. Create Build Draft
    8383
    84 ```bash
     84`
    8585curl --location 'localhost:8088/wp-json/wp/v2/sappcast_app_build' \
    8686    --header 'Content-Type: application/json' \
     
    9797        "status": "draft"
    9898    }'
    99 ```
     99`
    100100
    101101### 3. Publish Build
  • sparkling-appcast/trunk/readme.txt

    r3248777 r3248778  
    1515Sparkling Appcast exposes a new shortcode to display a list of app builds.
    1616
    17 ```
     17`
    1818[sappcast_display_builds sappcast_channel="{channel-id-or-slug}"]
    19 ```
     19`
    2020
    2121Configure Sparkle to ingest the appcast.xml at https://your.site/wp-json/sparkling-appcast/v1/appcast.xml.
    2222You will see something like the following XML.
    2323
    24 ```xml
     24`
    2525<rss xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
    2626    <channel>
     
    4848    </channel>
    4949</rss>
    50 ```
     50`
    5151
    5252## Configuration
     
    7272### 1. Uploading Asset
    7373
    74 ```bash
     74`
    7575curl --location "localhost:8088/wp-json/wp/v2/media?status=publish&title=MyApp%20${VERSION}%20(${BUILD_NUMBER})" \
    7676    --header "Content-Disposition: attachment; filename=\"myapp_v${VERSION}_${BUILD_NUMBER}.zip\"" \
     
    7878    --user "${USER}:${APPLICATION_PASSWORD}" \
    7979    --data-binary '@/path/to/asset.zip'
    80 ```
     80`
    8181
    8282### 2. Create Build Draft
    8383
    84 ```bash
     84`
    8585curl --location 'localhost:8088/wp-json/wp/v2/sappcast_app_build' \
    8686    --header 'Content-Type: application/json' \
     
    9797        "status": "draft"
    9898    }'
    99 ```
     99`
    100100
    101101### 3. Publish Build
Note: See TracChangeset for help on using the changeset viewer.