-
Notifications
You must be signed in to change notification settings - Fork 134
Fix including the minified assets in the WP.org deploy #1655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
I would like to understand why it's not working as expected according the https://github.com/10up/action-wordpress-plugin-deploy docs. |
|
Yes, the build works but then the built files are not included in SVN: |
|
Will adding the .distignore file solve it? |
|
It would but why not just re-use the |
|
Great that you've identified the bug upstream! :) |
Problem
The approach in #1654 doesn't include the built minified assets even though the example readme in https://github.com/10up/action-wordpress-plugin-deploy suggests otherwise.
It turns out that the action uses
git archiveif you don't have a.distignore. If we build the files into the git monitored directory, then those newly built files are ignored bygit archivesince it creates the archive from its index files.Relates to #1587.
Solution
git committhe newly built files.Tasks