Skip to content

Commit

Permalink
Merge pull request #209 from alleyinteractive/update-github-action-wh…
Browse files Browse the repository at this point in the history
…en-plugin-name-changes

Replace in Github action when not using plugin.php
  • Loading branch information
anubisthejackle authored May 11, 2023
2 parents 14ab72c + 1c9ffc7 commit cfe0cb3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configure.php
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,8 @@ function contributing_message( string $message ): void {
// Attempt to rename the main plugin file.
if ( 'plugin.php' !== $plugin_file ) {
rename( 'plugin.php', $plugin_file );

replace_in_file( './.github/workflows/upgrade-wordpress-plugin.yml', $search_and_replace );

echo "Renamed plugin.php to {$plugin_file}\n";
}
Expand Down

0 comments on commit cfe0cb3

Please sign in to comment.