diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml new file mode 100644 index 00000000..b0bd22ed --- /dev/null +++ b/.github/workflows/auto-release.yml @@ -0,0 +1,28 @@ +name: Releases + +on: + push: + tags: + - '*' + +jobs: + build: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: GitHub App token + id: github_app_token + uses: tibdex/github-app-token@v1.5.0 + with: + app_id: ${{ secrets.APP_ID }} + private_key: ${{ secrets.APP_PRIVATE_KEY }} + installation_id: 22958780 + - name: Get tag + id: tag + uses: dawidd6/action-get-tag@v1 + - uses: actions/checkout@v2 + - uses: ncipollo/release-action@v1 + with: + github_token: ${{ steps.github_app_token.outputs.token }} + bodyFile: release-notes/opensearch-geospatial.release-notes-${{steps.tag.outputs.tag}}.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 8befb4d9..5b3ac85a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Maintenance ### Refactoring -## [Unreleased 2.x](https://github.com/opensearch-project/geospatial/compare/2.7...2.x) +## [Unreleased 2.x](https://github.com/opensearch-project/geospatial/compare/2.9...2.x) ### Features ### Enhancements ### Bug Fixes diff --git a/release-notes/opensearch-geospatial.release-notes-2.8.0.0.md b/release-notes/opensearch-geospatial.release-notes-2.8.0.0.md new file mode 100644 index 00000000..00281437 --- /dev/null +++ b/release-notes/opensearch-geospatial.release-notes-2.8.0.0.md @@ -0,0 +1,10 @@ +## Version 2.8.0.0 Release Notes + +Compatible with OpenSearch 2.8.0 + +### Infrastructure +* Make jacoco report to be generated faster in local ([#267](https://github.com/opensearch-project/geospatial/pull/267)) +* Exclude lombok generated code from jacoco coverage report ([#268](https://github.com/opensearch-project/geospatial/pull/268)) + +### Maintenance +* Change package for Strings.hasText ([#314](https://github.com/opensearch-project/geospatial/pull/314)) \ No newline at end of file diff --git a/release-notes/opensearch-geospatial.release-notes-2.9.0.0.md b/release-notes/opensearch-geospatial.release-notes-2.9.0.0.md new file mode 100644 index 00000000..baa64e3c --- /dev/null +++ b/release-notes/opensearch-geospatial.release-notes-2.9.0.0.md @@ -0,0 +1,9 @@ +## Version 2.9.0.0 Release Notes + +Compatible with OpenSearch 2.9.0 + +### Maintenance +Increment version to 2.9.0-SNAPSHOT ([#329](https://github.com/opensearch-project/geospatial/pull/329)) + +### Refactoring +Change package for Strings.hasText ([#314](https://github.com/opensearch-project/geospatial/pull/314))