Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 2.25 KB

File metadata and controls

56 lines (36 loc) · 2.25 KB

The Provider Release Process

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.

Step 0: Update documentation

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.

Step 1: Bump version and push changes

  • 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

Version numbering

⚠️ Provider is still in v3. We now use a marketing version numbering convention, where non-breaking changes should be patches, and breaking changes warrant minor releases. Once we integrate the v4 contracts in the OCEAN ecosystem, the Provider will be fully SEMVER compatible.

  • 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"

Step 2: Merge changes to main branch

  • Make a pull request from the just-pushed branch.

  • Wait for all the tests to pass!

  • Merge the pull request into the main branch.

Step 3: Release