Public Access
fix: prevent duplicate version tags in Joomla manifests #322
Reference in New Issue
Block a user
Delete Branch "fix/version-bump-duplicates"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
limit=1inpreg_replacefor version tag replacement in all three version scripts<version>linesFiles changed
cli/version_bump.php— limit=1 + duplicate collapse for both prefix-aware and standard pathscli/version_set_platform.php— limit=1 + duplicate collapse in Joomla sectioncli/version_check.php— limit=1 + duplicate collapse in both manifest.xml and generic XML fix pathsTest plan
version_bump.phpon a manifest with duplicate<version>tags — verify only one remainsversion_set_platform.phpon a manifest with duplicate tags — verify collapsedversion_check.php --fixon a repo with mismatched + duplicate versions — verify single tag with correct version