1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-12-22 11:53:53 +02:00

Merge pull request #129 from afragen/patch-1

more instructions for using GitHub Updater
This commit is contained in:
Tom McFarlin 2013-11-26 06:41:51 -08:00
commit 747f8f7456
2 changed files with 10 additions and 2 deletions

View file

@ -56,9 +56,13 @@ Here's how to take advantage of this feature:
3. Push commits to the master branch
4. Enjoy your plugin being updated in the WordPress dashboard
The current version of the GitHub Updater supports tags/branches - whichever has the highest number. It also supports different branches using the `GitHub Branch:` header. All that info is in [the project](https://github.com/afragen/github-updater)
The current version of the GitHub Updater supports tags/branches - whichever has the highest number.
In future versions, there will be steps to specify branches or tags rather than the `master` branch.
To specify a branch that you would like to use for updating, just add a `GitHub Branch:` header. GitHub Updater will preferentially use a tag over a branch having the same or lesser version number. If the version number of the specified branch is greater then the update will pull from the branch and not from the tag.
The default state is either `GitHub Branch: master` or nothing at all. They are equivalent.
All that info is in [the project](https://github.com/afragen/github-updater).
## License

View file

@ -107,6 +107,10 @@ You may provide arbitrary sections, in the same format as the ones above. This
plugins where more information needs to be conveyed that doesn't fit into the categories of "description" or
"installation." Arbitrary sections will be shown below the built-in sections outlined above.
== Updates ==
This plugin supports the [GitHub Updater](https://github.com/afragen/github-updater) plugin, so if you install that, this plugin becomes automatically updateable direct from GitHub. Any submission to WP.org repo will make this redundant.
== A brief Markdown Example ==
Ordered list: