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.phpin the comment at the top, and in theENVATO_MARKET_VERSIONconstdocs/dist/update-check.jsonpackage.jsonreadme.txtstable tag- (Do not edit
readme.mdorenvato-market.potthese files are auto generated)
- Update the changelog in these files:
readme.txtadd a new changelog entry for version numberdocs/dist/update-check.jsonadd 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.phpe.g.Tested up to: 5.9 - Commit the changes ^^
- Run the build script:
npm installnpm run deploy- This updates a few files including
readme.mdand 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