From 31d2e4939a4cfe025c11a41cc30c707541c59dc4 Mon Sep 17 00:00:00 2001 From: Jonathan Miller <1+jmiller@noreply.git.mokoconsulting.tech> Date: Sun, 21 Jun 2026 23:33:57 +0000 Subject: [PATCH] feat: release_publish.php uses semver tags for non-Joomla platforms (#304) --- cli/release_publish.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/cli/release_publish.php b/cli/release_publish.php index 95a56fa..3facc88 100644 --- a/cli/release_publish.php +++ b/cli/release_publish.php @@ -254,6 +254,17 @@ class ReleasePublishCli extends CliFramework // -- Step 3: Build release package -- echo "\n--- Step 3: Build and upload release ---\n"; $releaseTag = $releaseTagMap[$stability]; + + // For non-Joomla platforms, use semver tags instead of stream tags + $platformOutput = []; + exec("{$php} {$cli}/manifest_read.php --path " . escapeshellarg($resolvedPath) . " --field platform 2>/dev/null", $platformOutput); + $platform = trim($platformOutput[0] ?? ''); + if ($platform !== '' && !str_starts_with($platform, 'joomla')) { + $releaseTag = 'v' . $releaseVersion; + echo " Platform: {$platform} — using semver tag: {$releaseTag} +"; + } + $sha256 = ''; if (!$this->dryRun) { -- 2.52.0