WordPress plugin for using and testing the umdigital/wordpress-github-updater PHP package.
plugin_repo="its-webhosting/wordpress-github-updater-demo"
plugin_url=$(curl -s "https://api.github.com/repos/${plugin_repo}/releases/latest" | jq -r '.assets[0].browser_download_url')
wp plugin install "${plugin_url}" --activateThis requires that your site has write access to the plugins folder.
- Download the latest package (example:
wordpress-github-updater-demo-x.x.x.zip) - Go to WP Admin/Dashboard -> Plugins -> Add New -> Upload Plugin
- Select the downloaded zip file and Upload
- Activate Plugin
- Download the latest package (example:
wordpress-github-updater-demo-x.x.x.zip) - Extract zip
- Upload the
wordpress-github-updater-demofolder towp-content/plugins/folder in your site - Activate Plugin
- Go to WP Admin/Dashboard -> Settings -> GitHub Updater Demo
- Pick the settings you want and save them.
- Future updates of the
wordpress-github-updater-demoplugin will be made according to those settings. - For more details, see the
umdigital/wordpress-github-updaterlibrary documentation.
Open an issue, or contact webmaster@umich.edu.
- Support forking and creating releases in the forked repo:
- Add a setting to specify a fork of the
wordpress-github-updater-demoplugin repo to check for updates. - Add a GitHub Action to easily create a new release of the
wordpress-github-updater-demoplugin when a new release of theumdigital/wordpress-github-updaterplugin.
- Add a setting to specify a fork of the
- Add support for non-SemVer version numbers: a checkbox (checked by default) that when unchecked will generate non-SemVer regexes.