Skip to content

Commit

Permalink
Build/Test Tools: Pin specific Importer version.
Browse files Browse the repository at this point in the history
This pins the last version compatible with WordPress 4.2 to that branch.

Follow up to [59614], [59617].
Reviewed by swissspidy.

See #52909.
See #62280.

git-svn-id: https://develop.svn.wordpress.org/branches/4.2@59620 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
desrosj committed Jan 15, 2025
1 parent 55083f1 commit e7a23c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/local-env/scripts/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ function install_wp_importer() {
const testPluginDirectory = 'tests/phpunit/data/plugins/wordpress-importer';

execSync( `docker compose exec -T php rm -rf ${testPluginDirectory}`, { stdio: 'inherit' } );
execSync( `docker compose exec -T php git clone https://github.com/WordPress/wordpress-importer.git ${testPluginDirectory} --depth=1`, { stdio: 'inherit' } );
execSync( `docker compose exec -T php git clone https://github.com/WordPress/wordpress-importer.git ${testPluginDirectory} --depth=1 --branch 0.7`, { stdio: 'inherit' } );
}

0 comments on commit e7a23c0

Please sign in to comment.