From 8ea0997c6a098fe2588b7c279fa8ab57fccadbc5 Mon Sep 17 00:00:00 2001 From: dblock Date: Thu, 15 Aug 2024 12:00:13 -0400 Subject: [PATCH] Prepare for release, 2.7.0. Signed-off-by: dblock --- .github/workflows/unified-release.yml | 2 +- CHANGELOG.md | 2 +- RELEASING.md | 11 ++++++----- benchmarks/poetry.lock | 2 +- opensearchpy/_version.py | 2 +- samples/poetry.lock | 2 +- 6 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/unified-release.yml b/.github/workflows/unified-release.yml index 3fce519d3..468c74a14 100644 --- a/.github/workflows/unified-release.yml +++ b/.github/workflows/unified-release.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - stack_version: ['2.6.0'] + stack_version: ["2.7.0"] steps: - name: Checkout diff --git a/CHANGELOG.md b/CHANGELOG.md index 39f10e009..a16e2f54b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # CHANGELOG Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -## [Unreleased] +## [2.7.0] ### Added - Added support for the `multi_terms` bucket aggregation ([#797](https://github.com/opensearch-project/opensearch-py/pull/797)) ### Changed diff --git a/RELEASING.md b/RELEASING.md index fdf80f16d..c436de7a4 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -33,8 +33,9 @@ Repositories create consistent release labels, such as `v1.0.0`, `v1.1.0` and `v The release process is standard across repositories in this org and is run by a release manager volunteering from amongst [maintainers](MAINTAINERS.md). -1. Create a tag, e.g. v2.1.0, and push it to the GitHub repo. -1. The [release-drafter.yml](.github/workflows/release-drafter.yml) will be automatically kicked off and a draft release will be created. -1. This draft release triggers the [jenkins release workflow](https://build.ci.opensearch.org/job/opensearch-py-release/) as a result of which opensearch-py client is released on [PyPi](https://pypi.org/project/opensearch-py/). -1. Once the above release workflow is successful, the drafted release on GitHub is published automatically. -1. Add an "Unreleased" section to CHANGELOG, and increment version to the next patch release, e.g. v2.1.1. See [example](https://github.com/opensearch-project/opensearch-py/pull/593). \ No newline at end of file +1. Update the version in [CHANGELOG](CHANGELOG.md), [_version.py](opensearchpy/_version.py) and [unified-release.yml](.github/workflows/unified-release.yml), make a pull request and have it merged. +2. Create a tag, e.g. v2.1.0, and push it to the GitHub repo. +3. The [release-drafter.yml](.github/workflows/release-drafter.yml) will be automatically kicked off and a draft release will be created. +4. This draft release triggers the [jenkins release workflow](https://build.ci.opensearch.org/job/opensearch-py-release/) as a result of which opensearch-py client is released on [PyPi](https://pypi.org/project/opensearch-py/). +5. Once the above release workflow is successful, the drafted release on GitHub is published automatically. +6. Add an "Unreleased" section to CHANGELOG, and increment version in [_version.py](opensearchpy/_version.py) to the next patch release, e.g. v2.1.1. See [example](https://github.com/opensearch-project/opensearch-py/pull/593). \ No newline at end of file diff --git a/benchmarks/poetry.lock b/benchmarks/poetry.lock index 230a03426..1660a6281 100644 --- a/benchmarks/poetry.lock +++ b/benchmarks/poetry.lock @@ -505,7 +505,7 @@ files = [ [[package]] name = "opensearch-py" -version = "2.6.0" +version = "2.7.0" description = "Python client for OpenSearch" optional = false python-versions = ">=3.8, <4" diff --git a/opensearchpy/_version.py b/opensearchpy/_version.py index 1bc96b453..845089f5b 100644 --- a/opensearchpy/_version.py +++ b/opensearchpy/_version.py @@ -24,4 +24,4 @@ # specific language governing permissions and limitations # under the License. -__versionstr__: str = "2.6.0" +__versionstr__: str = "2.7.0" diff --git a/samples/poetry.lock b/samples/poetry.lock index 09012d591..013efde69 100644 --- a/samples/poetry.lock +++ b/samples/poetry.lock @@ -522,7 +522,7 @@ files = [ [[package]] name = "opensearch-py" -version = "2.6.0" +version = "2.7.0" description = "Python client for OpenSearch" optional = false python-versions = ">=3.8, <4"