[FEATURE] Automate bumping versions after releases
Is your feature request related to a problem?
Coming from https://github.com/opensearch-project/opensearch-clients/issues/34. The version should be bumped each time a release is made so that builds happen for new changes with appropriate versioning.
What solution would you like?
Implement workflow similar to https://github.com/opensearch-project/OpenSearch/blob/main/.github/workflows/version.yml
I am not really sure if we need that. We have to just create a new Release at Github and it's done 😅
Where's the version stored in code? Is it?
So the version is not stored in the code, but should, I opened https://github.com/opensearch-project/opensearch-php/issues/182.
Here's what automation should produce: https://github.com/opensearch-project/opensearch-php/pull/190.
Here's what automation should produce: #190.
In the future, once we transition to generating client using templates, let's aim to modify the client version in util/template/client-class, rather than in src/OpenSearch/Client.php.