admin管理员组文章数量:1384383
I have developed a WordPress plugin that is now live on the WordPress Plugin Directory. However, I'm facing an issue with managing different folder structures between my development environment and the structure required for deployment on WordPress.
Current Setup My development branch (dev) has the following folder structure:
**my-plugin**
/included
/admin
my-plugin.php
Current Setup My development branch (main) has the following folder structure:
**my-plugin**
/assets
/trunk
~The trunk folder contains all the main plugin files, including PHP files
The Problem
The folder structures between the development and deployment branches are different.
When I prepare a new release, I need to manually adjust the file structure, which is time-consuming and error-prone.
Directly merging the dev branch into main doesn’t work because of the folder mismatch.
Any guidance, examples, or resources would be greatly appreciated!
本文标签:
版权声明:本文标题:managing different folder structures between development and deployment in a WordPress plugin - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744492861a2608841.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论