Skip to content

A WordPress plugin to use and test the umdigital/wordpress-github-updater PHP package.

License

Notifications You must be signed in to change notification settings

its-webhosting/wordpress-github-updater-demo

Repository files navigation

WordPress GitHub Updater Library Demo

GitHub release GitHub issues

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.

  1. Download the latest package (example: wordpress-github-updater-demo-x.x.x.zip)
  2. Go to WP Admin/Dashboard -> Plugins -> Add New -> Upload Plugin
  3. Select the downloaded zip file and Upload
  4. Activate Plugin

Manual Method

  1. Download the latest package (example: wordpress-github-updater-demo-x.x.x.zip)
  2. Extract zip
  3. Upload the wordpress-github-updater-demo folder to wp-content/plugins/ folder in your site
  4. Activate Plugin

Usage

  1. Go to WP Admin/Dashboard -> Settings -> GitHub Updater Demo
  2. Pick the settings you want and save them.
  3. Future updates of the wordpress-github-updater-demo plugin will be made according to those settings.
  4. For more details, see the umdigital/wordpress-github-updater library 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-demo plugin repo to check for updates.
    • Add a GitHub Action to easily create a new release of the wordpress-github-updater-demo plugin when a new release of the umdigital/wordpress-github-updater plugin.
  • Add support for non-SemVer version numbers: a checkbox (checked by default) that when unchecked will generate non-SemVer regexes.

About

A WordPress plugin to use and test the umdigital/wordpress-github-updater PHP package.

Resources

License

Stars

Watchers

Forks

Packages

No packages published