Releases
Releases are versioned builds of your product stored on Cloudflare R2. Published releases are available for download and WordPress auto-updates.
Uploading a Release
Via Dashboard
- Go to your product's detail page
- Click the Releases tab
- Click New Release
- Upload your ZIP file and set the version number
- Add release notes (optional)
- Choose status: Draft or Published
Via API
Upload the file first, then create the release record:
bash
# Step 1: Upload the ZIP
curl -X POST https://api.packedge.dev/api/products/:id/releases/upload \
-H "Cookie: session=YOUR_SESSION" \
-F "[email protected]" \
-F "version=1.0.0"
# Step 2: Create the release
curl -X POST https://api.packedge.dev/api/products/:id/releases \
-H "Content-Type: application/json" \
-H "Cookie: session=YOUR_SESSION" \
-d '{
"version": "1.0.0",
"releaseNotes": "Initial release",
"filePath": "my-plugin/1.0.0/my-plugin-1.0.0.zip",
"fileName": "my-plugin-1.0.0.zip",
"fileSize": 12345,
"status": "published"
}'Release Status
| Status | Description |
|---|---|
draft | Not available for download or auto-updates |
published | Available for download and WordPress update checks |
Versioning
Releases use semantic versioning. The WordPress update check compares the installed version against the latest published release using semver.
Storage
Release files are stored in Cloudflare R2 at the path:
{product-slug}/{version}/{filename}.zipDownloads are streamed directly from R2 with automatic download count tracking.
