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

Commit

Permalink
Adjust release drafter to follow ODFE standards (#700)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuali925 committed Aug 20, 2020
1 parent 9ccffc6 commit 857ea27
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 25 deletions.
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 }}

0 comments on commit 857ea27

Please sign in to comment.