Please note that this upgrade does not affect the deployed versions of Provider, e.g https://provider.mainnet.oceanprotocol.com, https://provider.polygon.oceanprotocol.com etc. Contact the Ocean Protocol team for such a deployment.
- Go to https://github.com/oceanprotocol/readthedocs, and follow the steps
- This will update what's shown in https://docs.oceanprotocol.com/references/provider/.
This doesn't actually affect the pip release of the following steps. And if you've just updated READMEs, you can stop after this step if you like.
-
Create a new local feature branch, e.g.
git checkout -b feature/bumpversion-to-v5.2.5
-
Use the
bumpversion.sh
script to bump the project version. You can execute the script using {major|minor|patch} as first argument to bump the version accordingly:- To bump the patch version:
./bumpversion.sh patch
- To bump the minor version:
./bumpversion.sh minor
- To bump the major version (for API-breaking changes):
./bumpversion.sh major
- To bump the patch version:
-
Commit the changes to the feature branch.
git commit -m "Bump version <old_version> -> <new_version>"
-
Push the feature branch to GitHub.
git push origin feature/bumpversion-to-v5.2.5"
-
Make a pull request from the just-pushed branch.
-
Wait for all the tests to pass!
-
Merge the pull request into the
main
branch.
- To make a GitHub release (which creates a Git tag):
- Go to the Provider repo's Releases page https://github.com/oceanprotocol/provider/releases
- Click "Draft a new release".
- For tag version, put something like
v5.2.5
- For release title, put the same value (like
v5.2.5
). - For the target, select the
main
branch, or the just-merged commit. - Describe the main changes.
- Click "Publish release".