From b994dc40638d600d6be885c64cb604cb9f7fc76d Mon Sep 17 00:00:00 2001 From: "Daniel (dB.) Doubrovkine" Date: Tue, 20 Aug 2024 12:47:02 -0400 Subject: [PATCH] Preparing for next developer iteration, 2.7.1. (#802) Signed-off-by: dblock --- .github/workflows/unified-release.yml | 2 +- CHANGELOG.md | 9 +++++++++ RELEASING.md | 6 +++--- benchmarks/poetry.lock | 2 +- opensearchpy/_version.py | 2 +- samples/poetry.lock | 2 +- 6 files changed, 16 insertions(+), 7 deletions(-) diff --git a/.github/workflows/unified-release.yml b/.github/workflows/unified-release.yml index 468c74a1..dff88a1b 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.7.0"] + stack_version: ["2.7.1"] steps: - name: Checkout diff --git a/CHANGELOG.md b/CHANGELOG.md index a16e2f54..3d28ec81 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,14 @@ # CHANGELOG Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +## [Unreleased] +### Added +### Changed +### Deprecated +### Removed +### Fixed +### Security + ## [2.7.0] ### Added - Added support for the `multi_terms` bucket aggregation ([#797](https://github.com/opensearch-project/opensearch-py/pull/797)) @@ -276,6 +284,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### Security [Unreleased]: https://github.com/opensearch-project/opensearch-py/compare/v2.6.0...HEAD +[2.7.0]: https://github.com/opensearch-project/opensearch-py/compare/v2.6.0...v2.7.0 [2.6.0]: https://github.com/opensearch-project/opensearch-py/compare/v2.5.0...v2.6.0 [2.5.0]: https://github.com/opensearch-project/opensearch-py/compare/v2.4.2...v2.5.0 [2.4.2]: https://github.com/opensearch-project/opensearch-py/compare/v2.4.0...v2.4.2 diff --git a/RELEASING.md b/RELEASING.md index 18c06287..bb2f3536 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -34,7 +34,7 @@ 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. 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. See [example](https://github.com/opensearch-project/opensearch-py/pull/799). -2. Create a tag, e.g. v2.1.0, and push it to the GitHub repo. -3. The [release-drafter#draft-a-release](.github/workflows/release-drafter.yml) workflow will be automatically kicked off and a draft release will be created. +2. Check out the [upstream repo](https://github.com/opensearch-project/opensearch-py), make sure it's up-to-date with `git pull origin main`, create a tag, e.g. `git tag v2.1.0`, and push it to GitHub with `git push origin --tags`. +3. The [release-drafter#draft-a-release](.github/workflows/release-drafter.yml) workflow will be automatically kicked off and a draft release will be created along with a release issue that requires approval from another maintainer. See [example](https://github.com/opensearch-project/opensearch-py/issues/801). 4. The [release-drafter#pypi-publish](.github/workflows/release-drafter.yml) workflow will publish the release to [PyPi](https://pypi.org/project/opensearch-py/). -5. Add an "Unreleased" section to [CHANGELOG](CHANGELOG.md), update the [COMPATIBILITY](COMPATIBILITY.md) matrix, 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 +5. Add an "Unreleased" section to [CHANGELOG](CHANGELOG.md), update the [COMPATIBILITY](COMPATIBILITY.md) matrix, 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/802). \ No newline at end of file diff --git a/benchmarks/poetry.lock b/benchmarks/poetry.lock index 1660a628..efee5afc 100644 --- a/benchmarks/poetry.lock +++ b/benchmarks/poetry.lock @@ -505,7 +505,7 @@ files = [ [[package]] name = "opensearch-py" -version = "2.7.0" +version = "2.7.1" description = "Python client for OpenSearch" optional = false python-versions = ">=3.8, <4" diff --git a/opensearchpy/_version.py b/opensearchpy/_version.py index 845089f5..84987f60 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.7.0" +__versionstr__: str = "2.7.1" diff --git a/samples/poetry.lock b/samples/poetry.lock index 013efde6..4374e04c 100644 --- a/samples/poetry.lock +++ b/samples/poetry.lock @@ -522,7 +522,7 @@ files = [ [[package]] name = "opensearch-py" -version = "2.7.0" +version = "2.7.1" description = "Python client for OpenSearch" optional = false python-versions = ">=3.8, <4"