diff --git a/.github/bump-version.sh b/.github/bump-version.sh index c770910145..033147f969 100644 --- a/.github/bump-version.sh +++ b/.github/bump-version.sh @@ -28,4 +28,8 @@ GLOBAL_JSON=$(jq \ global.json) echo "$GLOBAL_JSON" > global.json -sed -i'' -E "s/<(Current(Assembly(File)?)?Version)>([0-9]+\.){2}[0-9]+<\/\1>/<\1>$VERSION<\/\1>/" Directory.Build.props +s=$(command -v gsed || command -v sed) + +"$s" -i'' -E "s/<(Current(Assembly(File)?)?Version)>[0-9]+\.[0-9]+\.[0-9]+<\/\1>/<\1>$VERSION<\/\1>/" Directory.Build.props + +"$s" -i'' -E "s/(next release of opensearch\-net, which should be \*\*)[0-9]+\.[0-9]+\.[0-9]+(\*\*\.)/\1$VERSION\2/" README.md diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 143e338da4..005626f0a9 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -22,7 +22,7 @@ jobs: with: secret: ${{ github.TOKEN }} approvers: ${{ steps.get_approvers.outputs.approvers }} - minimum-approvals: 2 + minimum-approvals: 1 issue-title: 'Release opensearch-net' issue-body: "Please approve or deny the release of opensearch-net \n **TAG**: ${{ github.ref_name }} \n **COMMIT**: ${{ github.sha }}" exclude-workflow-initiator-as-approver: true diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d0142c3db..d2ce609066 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ## [Unreleased] ### Added + +### Dependencies + +## [1.8.0] +### Added - Added support for the `neural` query type and `text_embedding` ingest processor type ([#636](https://github.com/opensearch-project/opensearch-net/pull/636)) - Added support for the `Cat.PitSegments` and `Cat.SegmentReplication` APIs ([#527](https://github.com/opensearch-project/opensearch-net/pull/527)) - Added support for `MinScore` on `ScriptScoreQuery` ([#624](https://github.com/opensearch-project/opensearch-net/pull/624)) @@ -185,7 +190,8 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Bumps `System.Diagnostics.DiagnosticSource` from 5.0.0 to 6.0.0 - Bumps `Microsoft.NETFramework.ReferenceAssemblies` from 1.0.0-preview.2 to 1.0.3 -[Unreleased]: https://github.com/opensearch-project/opensearch-net/compare/v1.7.1...1.x +[Unreleased]: https://github.com/opensearch-project/opensearch-net/compare/v1.8.0...1.x +[1.8.0]: https://github.com/opensearch-project/opensearch-net/compare/v1.7.1...v1.8.0 [1.7.1]: https://github.com/opensearch-project/opensearch-net/compare/v1.7.0...v1.7.1 [1.7.0]: https://github.com/opensearch-project/opensearch-net/compare/v1.6.0...v1.7.0 [1.6.0]: https://github.com/opensearch-project/opensearch-net/compare/v1.5.0...v1.6.0