feat: release_publish.php uses semver tags for non-Joomla platforms (#304) #311

Merged
jmiller merged 1 commits from feature/304-release-publish into dev 2026-06-21 23:34:30 +00:00
Owner

Summary

After determining the release tag from the stability map, checks the repo platform via manifest_read.php. If platform is NOT joomla*, overrides the stream tag with a semver tag (v{version}).

Change

In cli/release_publish.php Step 3, after $releaseTag = $releaseTagMap[$stability]:

$platformOutput = [];
exec("manifest_read.php --path . --field platform", $platformOutput);
$platform = trim($platformOutput[0] ?? '');
if ($platform !== '' && !str_starts_with($platform, 'joomla')) {
    $releaseTag = 'v' . $releaseVersion;
}

Completes #304

Together with PR #307 (pre-release Joomla guard) and PR #308 (auto-release semver tags), this completes the full semver versioning pipeline for non-Joomla repos.

## Summary After determining the release tag from the stability map, checks the repo platform via `manifest_read.php`. If platform is NOT `joomla*`, overrides the stream tag with a semver tag (`v{version}`). ## Change In `cli/release_publish.php` Step 3, after `$releaseTag = $releaseTagMap[$stability]`: ```php $platformOutput = []; exec("manifest_read.php --path . --field platform", $platformOutput); $platform = trim($platformOutput[0] ?? ''); if ($platform !== '' && !str_starts_with($platform, 'joomla')) { $releaseTag = 'v' . $releaseVersion; } ``` ## Completes #304 Together with PR #307 (pre-release Joomla guard) and PR #308 (auto-release semver tags), this completes the full semver versioning pipeline for non-Joomla repos.
jmiller added 1 commit 2026-06-21 23:34:15 +00:00
feat: release_publish.php uses semver tags for non-Joomla platforms (#304)
Platform: mokocli CI / Gate 2: Unit Tests (8.1) (pull_request) Blocked by required conditions
Platform: mokocli CI / Gate 2: Unit Tests (8.2) (pull_request) Blocked by required conditions
Platform: mokocli CI / Gate 2: Unit Tests (8.3) (pull_request) Blocked by required conditions
Platform: mokocli CI / Gate 3: Self-Health Check (pull_request) Blocked by required conditions
Platform: mokocli CI / Gate 4: Governance (pull_request) Blocked by required conditions
Platform: mokocli CI / Gate 5: Template Integrity (pull_request) Blocked by required conditions
Platform: mokocli CI / CI Summary (pull_request) Blocked by required conditions
Universal: PR Check / Build RC Package (pull_request) Blocked by required conditions
Universal: PR Check / Report Issues (pull_request) Blocked by required conditions
Universal: Auto Version Bump / Version Bump (push) Successful in 13s
Universal: PR Check / Branch Policy (pull_request) Successful in 5s
Universal: PR Check / Secret Scan (pull_request) Successful in 16s
Universal: PR Check / Validate PR (pull_request) Failing after 17s
Platform: mokocli CI / Gate 1: Code Quality (pull_request) Failing after 1m32s
RC Revert / Rename rc/ back to dev/ (pull_request) Failing after 10m25s
Branch Cleanup / Delete merged branch (pull_request) Failing after 10m33s
31d2e4939a
jmiller merged commit 12779900b4 into dev 2026-06-21 23:34:30 +00:00
jmiller deleted branch feature/304-release-publish 2026-06-21 23:34:30 +00:00
Sign in to join this conversation.
No Reviewers
No labels
Priority -
Type -
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoCLI#311