File tree Expand file tree Collapse file tree
sqlite-database-integration Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 - name : Extract version from "version.php"
2323 id : const_version
2424 run : |
25- VERSION=$(php -r "require 'version.php'; echo SQLITE_DRIVER_VERSION;")
25+ VERSION=$(php -r "require 'packages/wp-mysql-on-sqlite/src/ version.php'; echo SQLITE_DRIVER_VERSION;")
2626 echo "const_version=$VERSION" >> $GITHUB_OUTPUT
2727
2828 - name : Compare versions
Original file line number Diff line number Diff line change 1616 * Load the "SQLITE_DRIVER_VERSION" constant.
1717 * This constant needs to be updated on plugin release!
1818 */
19- require_once __DIR__ . '/version.php ' ;
19+ require_once __DIR__ . '/wp-includes/database/ version.php ' ;
2020
2121define ( 'SQLITE_MAIN_FILE ' , __FILE__ );
2222
Original file line number Diff line number Diff line change 99/**
1010 * Load the "SQLITE_DRIVER_VERSION" constant.
1111 */
12- require_once dirname ( __DIR__ , 2 ) . '/version.php ' ;
12+ require_once __DIR__ . '/../database /version.php ' ;
1313
1414// Require the constants file.
1515require_once dirname ( __DIR__ , 2 ) . '/constants.php ' ;
Original file line number Diff line number Diff line change 66 * Load the PDO MySQL-on-SQLite driver and its dependencies.
77 */
88require_once __DIR__ . '/php-polyfills.php ' ;
9- require_once __DIR__ . '/../../../ version.php ' ;
9+ require_once __DIR__ . '/version.php ' ;
1010require_once __DIR__ . '/parser/class-wp-parser-grammar.php ' ;
1111require_once __DIR__ . '/parser/class-wp-parser.php ' ;
1212require_once __DIR__ . '/parser/class-wp-parser-node.php ' ;
File renamed without changes.
You can’t perform that action at this time.
0 commit comments