Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/its-webhosting/wordpress-github-updater-demo/releases/download/v1.0.0/wordpress-github-updater-demo-1.0.0.zipUpdates itself. It ships its own updater, so new versions appear under Dashboard → Updates.
WordPress GitHub Updater Library Demo
WordPress plugin for using and testing the umdigital/wordpress-github-updater PHP package.
Install
WP CLI Method
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}" --activate
WP Admin/Dashboard Method
This 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
Manual Method
- 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
Usage
- 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.
Support
Open an issue, or contact webmaster@umich.edu.
Roadmap
- 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.
Releases
1 release. Each count is every asset in that release; expand a row for the breakdown.
Tag
Published
Assets
Downloads