This WordPress plugin is hosted on Gibhub pages:
- The url for the latest zip file is: https://envato.github.io/wp-envato-market/dist/envato-market.zip
- The url that clients check for updates is: https://envato.github.io/wp-envato-market/dist/update-check.json To release a new version we have to update these two files, the steps for doing so are below:
- Create a new branch based on the version number, e.g.
v2.0.7
- Implement and commit any improvements to the plugin (e.g. bug fixes or new features)
- Update the version numbers in these files:
envato-market.php
in the comment at the top, and in theENVATO_MARKET_VERSION
constdocs/dist/update-check.json
package.json
readme.txt
stable tag- (Do not edit
readme.md
orenvato-market.pot
these files are auto generated)
- Update the changelog in these files:
readme.txt
add a new changelog entry for version numberdocs/dist/update-check.json
add a changelog entry like:<h4>v2.0.7</h4><ul><li>Fix global notice hidden bug</li></ul>
- Update the "tested up to" tag in
envato-market.php
e.g.Tested up to: 5.9
- Commit the changes ^^
- Run the build script:
npm install
npm run deploy
- This updates a few files including
readme.md
and the new zip file indocs/dist/envato-market.zip
- Commit the changes ^^
- Open a PR based on this branch
- Get approval and merge the PR
- Publish a new github release https://github.com/envato/wp-envato-market/releases/new to match the new version number.
- The update will now be live for everyone