Implement a release deployment strategy for the the NextWP WordPress plugins & theme
Closed this issue · 2 comments
There should be easy to download .zip files automatically generated and posted somewhere for the plugin and theme.
The docs page(s) should also link directly to the latest zip download.
We should also get these posted on the WP plugin registry.
- Create release on version tag
- Automatically upload plugins and theme zip files to the release assets
- #13
- #12
I have added a GitHub workflow that runs when there are changes to files in the wordpress
directory on the main branch:
-
It will zip the contents of each plugin & theme, create a release on the main nextwp repo, and upload the zipped assets there.
-
The docs download links for each plugin & theme is currently linking to the latest releases on GitHub. Still need to make this a direct link to the latest zip file(s).
WIP workflow that was meant to automatically update the links in the docs:
Currently commented out here: .github/wip_workflows/update-docs-latest-release-links.yml
But maybe a better way would be to add a route handler in the docs that would always be the same url, and then that route handler can just fetch the github repo's releases, get the newest release, and then grab the zip file matching the theme or plugin name.
Closing this one as the github workflow CI/CD for creating the plugin and theme zip files is completed.
The remaining items have their own task/issues.