Skip to content

Commit

Permalink
Prepare for 1.8.0 release (#773) (#774)
Browse files Browse the repository at this point in the history
* Prepare 1.8.0 changelog

Signed-off-by: Thomas Farr <[email protected]>

* Fix bump version script

Signed-off-by: Thomas Farr <[email protected]>

* Reduce minimum approvers

Signed-off-by: Thomas Farr <[email protected]>

---------

Signed-off-by: Thomas Farr <[email protected]>
(cherry picked from commit bd84d63)
  • Loading branch information
Xtansia authored Aug 29, 2024
1 parent 72f00bb commit 0f49a5a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/bump-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0f49a5a

Please sign in to comment.