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

Commit 857ea27

Browse files
authored
Adjust release drafter to follow ODFE standards (#700)
1 parent 9ccffc6 commit 857ea27

File tree

2 files changed

+28
-25
lines changed

2 files changed

+28
-25
lines changed

.github/draft-release-notes-config.yml

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,38 +5,41 @@ template: |
55
66
# Setting the formatting and sorting for the release notes body
77
name-template: Version $RESOLVED_VERSION
8-
change-template: "- $TITLE (PR [#$NUMBER](https://github.com/opendistro-for-elasticsearch/sql/pull/$NUMBER))"
8+
change-template: "* $TITLE ([#$NUMBER](https://github.com/opendistro-for-elasticsearch/sql/pull/$NUMBER))"
99
sort-by: merged_at
1010
sort-direction: ascending
11+
replacers:
12+
- search: '##'
13+
replace: '###'
1114

12-
# Organizing the tagged PRs into categories
15+
# Organizing the tagged PRs into unified ODFE categories
1316
categories:
14-
- title: "Version Upgrades"
17+
- title: 'Breaking Changes'
1518
labels:
16-
- "version compatibility"
17-
- title: "SQL and PPL"
19+
- 'Breaking Changes'
20+
- title: 'Features'
1821
labels:
19-
- "SQL"
20-
- "PPL"
21-
- title: "SQL CLI"
22+
- 'feature'
23+
- title: 'Enhancements'
2224
labels:
23-
- "CLI"
24-
- title: "SQL JDBC"
25+
- 'enhancement'
26+
- title: 'Bug Fixes'
2527
labels:
26-
- "JDBC"
27-
- title: "SQL ODBC"
28+
- 'bug'
29+
- title: 'Infrastructure'
2830
labels:
29-
- "ODBC"
30-
- title: "SQL Workbench"
31+
- 'infra'
32+
- 'test'
33+
- 'dependencies'
34+
- 'github actions'
35+
- title: 'Documentation'
3136
labels:
32-
- "Workbench"
33-
- title: "Enhancements"
37+
- 'documentation'
38+
- title: 'Maintenance'
3439
labels:
35-
- "enhancement"
40+
- "version compatibility"
3641
- "maintenance"
37-
- title: "Bug Fixes"
38-
labels:
39-
- "bug"
40-
- title: "Documentation"
42+
- title: 'Refactoring'
4143
labels:
42-
- "documentation"
44+
- 'refactor'
45+
- 'code quality'

.github/workflows/draft-release-notes-workflow.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ name: Release Drafter
33
on:
44
push:
55
branches:
6-
- master
6+
- develop
77

88
jobs:
99
update_release_draft:
1010
name: Update draft release notes
1111
runs-on: ubuntu-latest
1212
steps:
13-
# Drafts your next Release notes as Pull Requests are merged into "master"
13+
# Drafts your next Release notes as Pull Requests are merged into "develop"
1414
- name: Update draft release notes
1515
uses: release-drafter/release-drafter@v5
1616
with:
1717
config-name: draft-release-notes-config.yml
1818
tag: (None)
19-
version: 1.9.0.1
19+
version: 1.10.0.0
2020
env:
2121
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)