Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Adjust release drafter to follow ODFE standards #700

Merged
merged 1 commit into from
Aug 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 25 additions & 22 deletions .github/draft-release-notes-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,38 +5,41 @@ template: |

# Setting the formatting and sorting for the release notes body
name-template: Version $RESOLVED_VERSION
change-template: "- $TITLE (PR [#$NUMBER](https://github.com/opendistro-for-elasticsearch/sql/pull/$NUMBER))"
change-template: "* $TITLE ([#$NUMBER](https://github.com/opendistro-for-elasticsearch/sql/pull/$NUMBER))"
sort-by: merged_at
sort-direction: ascending
replacers:
- search: '##'
replace: '###'

# Organizing the tagged PRs into categories
# Organizing the tagged PRs into unified ODFE categories
categories:
- title: "Version Upgrades"
- title: 'Breaking Changes'
labels:
- "version compatibility"
- title: "SQL and PPL"
- 'Breaking Changes'
- title: 'Features'
labels:
- "SQL"
- "PPL"
- title: "SQL CLI"
- 'feature'
- title: 'Enhancements'
labels:
- "CLI"
- title: "SQL JDBC"
- 'enhancement'
- title: 'Bug Fixes'
labels:
- "JDBC"
- title: "SQL ODBC"
- 'bug'
- title: 'Infrastructure'
labels:
- "ODBC"
- title: "SQL Workbench"
- 'infra'
- 'test'
- 'dependencies'
- 'github actions'
- title: 'Documentation'
labels:
- "Workbench"
- title: "Enhancements"
- 'documentation'
- title: 'Maintenance'
labels:
- "enhancement"
- "version compatibility"
- "maintenance"
- title: "Bug Fixes"
labels:
- "bug"
- title: "Documentation"
- title: 'Refactoring'
labels:
- "documentation"
- 'refactor'
- 'code quality'
6 changes: 3 additions & 3 deletions .github/workflows/draft-release-notes-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ name: Release Drafter
on:
push:
branches:
- master
- develop

jobs:
update_release_draft:
name: Update draft release notes
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
# Drafts your next Release notes as Pull Requests are merged into "develop"
- name: Update draft release notes
uses: release-drafter/release-drafter@v5
with:
config-name: draft-release-notes-config.yml
tag: (None)
version: 1.9.0.1
version: 1.10.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}