Changeset 60750 for branches/6.4
- Timestamp:
- 09/15/2025 08:08:40 PM (3 months ago)
- Location:
- branches/6.4
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tools/local-env/scripts/install.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/6.4
- Property svn:mergeinfo changed
/branches/6.5 (added) merged: 60748
- Property svn:mergeinfo changed
-
branches/6.4/tools/local-env/scripts/install.js
r60749 r60750 56 56 const testPluginDirectory = 'tests/phpunit/data/plugins/wordpress-importer'; 57 57 58 59 // The final version of the WordPress Importer plugin with support for PHP < 7.2 is 0.9.0. 60 const phpVersion = parseFloat(process.env.LOCAL_PHP.split('-')[0]); 61 const branchFlag = phpVersion < 7.2 ? '--branch 0.9.0' : ''; 62 58 63 execSync( `docker compose exec -T php rm -rf ${testPluginDirectory}`, { stdio: 'inherit' } ); 59 execSync( `docker compose exec -T php git clone https://github.com/WordPress/wordpress-importer.git ${testPluginDirectory} --depth=1`, { stdio: 'inherit' } );64 execSync( `docker compose exec -T php git clone ${branchFlag} https://github.com/WordPress/wordpress-importer.git ${testPluginDirectory} --depth=1`, { stdio: 'inherit' } ); 60 65 }
Note: See TracChangeset
for help on using the changeset viewer.