PLugin versioning fixes
This commit is contained in:
@@ -390,23 +390,32 @@ View and manage plugin registry.
|
||||
|
||||
Manage versions and trigger releases.
|
||||
|
||||
| Field | Description |
|
||||
|-------|-------------|
|
||||
| Plugin | Parent plugin |
|
||||
| Version | Semantic version (e.g., 1.1.1) |
|
||||
| Status | draft, testing, staged, released, update_ready, deprecated |
|
||||
| File Path | Auto-set on release |
|
||||
| File Size | Auto-calculated on release |
|
||||
| Checksum | Auto-calculated on release |
|
||||
| Changelog | What's new (shown to users) |
|
||||
| Force Update | Set true for critical security fixes |
|
||||
**Required Fields Only:**
|
||||
- Plugin
|
||||
- Version (e.g., 1.2.0)
|
||||
- Changelog
|
||||
- Status
|
||||
|
||||
**Auto-Filled Fields:**
|
||||
- Min API/Platform/PHP versions (copied from previous version)
|
||||
- File path, size, checksum (generated on release)
|
||||
- Version code (calculated from version number)
|
||||
|
||||
**To Release a New Version:**
|
||||
|
||||
1. Create new PluginVersion record with status `draft`
|
||||
2. Enter version number, changelog
|
||||
3. Change status to `released` or `update_ready`
|
||||
4. Save → ZIP is automatically built
|
||||
1. Click **Add Plugin Version**
|
||||
2. Select plugin
|
||||
3. Enter version number (e.g., 1.2.0)
|
||||
4. Write changelog
|
||||
5. Set status to `draft`
|
||||
6. Save
|
||||
7. Change status to `released` (or use bulk action "✅ Release selected versions")
|
||||
8. ZIP is automatically built with all file info populated
|
||||
|
||||
**Bulk Actions:**
|
||||
- **✅ Release selected versions** - Builds ZIP and releases
|
||||
- **📢 Mark as update ready** - Notifies WordPress sites
|
||||
- **🗑️ Mark as deprecated** - Deprecates old versions
|
||||
|
||||
#### Plugin Installations
|
||||
|
||||
|
||||
Reference in New Issue
Block a user