Public Access
feat: release_publish.php uses semver tags for non-Joomla platforms (#304) #311
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user