-
Notifications
You must be signed in to change notification settings - Fork 101
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
Implement GitHub workflow to build and deploy standalone plugins #638
Comments
Suggestions for the requirements:
|
@joemcgill I agree with your first point. The other two points, which are related, we may want to further discuss on #635 where this is currently being covered by the proposed requirements. For some context, I am proposing the following:
To me, I don't consider the drawback relevant enough to "fix". Is there any real problem by triggering an update (not more than once a month anyway) without actual changes? |
@joemcgill @felixarntz I have an open PR in which I use the 10up Deploy action. Can you please review it and share your feedback. There is already a plugin called Dominant Color hosted on wp.org with the same slug as the PL module, so there may be a conflict in the future when we run the script for |
Thanks @mukeshpanchal27! I'm not very familiar with GH Actions, so I'd appreciate if @spacedmonkey could give this a first review.
Good catch! We can't just take that over, so how do we want to name our plugin? Maybe |
What about |
LGTM. @felixarntz WDYT? Once the name is finalised, we have to open PR for those changes before #640 to start. |
@joemcgill @mukeshpanchal27 Sorry for the delayed reply here, |
Closed in #686 |
Feature Description
Follow up to #635, #636, and #637: Once the CLI command from that issue has been implemented, we should use this issue to implement a new GitHub workflow like
deploy-standalone-plugins.yml
which uses the CLI command to build the plugins and then deploys them individually to their respective WordPress.org plugin repository folder.Requirements
.deploy-plugins.yml
should be implemented, for now to deploy modules as standalone plugins to the WordPress plugin repository.build-plugins
script from Implement CLI command to for a build process to transform modules into standalone plugins #635 to transform certain modules (based on theplugins.json
file) to standalone plugins.plugins.json
file, and for each plugin replace the currenttrunk
folder content with the newly built plugin.readme.txt
file matches and is greater than the version that was previously in those files. (The only exception is if this is the initial release, i.e. there was no version before.) If so, the next steps for each plugin are:trunk
folder to a newtags/$version
folder.svn status
..sh
or.js
) as needed - it's probably not a good idea to bake all of this logic directly into a GitHub workflow YAML file, as that would get overly complicated.The text was updated successfully, but these errors were encountered: