From 5f935886f435a052af7ff45405685f2986b34b95 Mon Sep 17 00:00:00 2001 From: Jesus Vasquez Date: Thu, 19 Mar 2020 20:48:12 -0700 Subject: [PATCH 1/3] Add github-release-note configuration file --- .grenrc.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .grenrc.yml diff --git a/.grenrc.yml b/.grenrc.yml new file mode 100644 index 0000000..8b1530c --- /dev/null +++ b/.grenrc.yml @@ -0,0 +1,12 @@ +--- + dataSource: "prs" + onlyMilestones: false + # Group the release notes in tow categories, + # based on the PR labels 'bug' and 'enhancement' + groupBy: + "Bug fixes:": + - "bug" + "Enhancements:": + - "enhancement" + template: + "issue": "- {{url}} {{name}}" \ No newline at end of file From 97ff069a54ca5fdf7f73c89e24718ea070c7cf0f Mon Sep 17 00:00:00 2001 From: Jesus Vasquez Date: Thu, 19 Mar 2020 20:49:05 -0700 Subject: [PATCH 2/3] Add travis configuration file. This will run gren when a tag is pushed to auto generates release notes --- .travis.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ef1b57b --- /dev/null +++ b/.travis.yml @@ -0,0 +1,21 @@ +os: linux + +dist: bionic + +language: node_js + +node_js: + - 8 + +stages: + - name: generate_release_notes + if: tag IS present + +jobs: + include: + - stage: generate_release_notes + name: "Generate Release Notes" + before_script: + - npm install github-release-notes -g + script: + - gren release From 3b2f7b9c50f88dc66f5c0554bbc32d38139adeec Mon Sep 17 00:00:00 2001 From: Jesus Vasquez Date: Thu, 19 Mar 2020 20:54:20 -0700 Subject: [PATCH 3/3] Add newline at end of file --- .grenrc.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.grenrc.yml b/.grenrc.yml index 8b1530c..35326a8 100644 --- a/.grenrc.yml +++ b/.grenrc.yml @@ -9,4 +9,4 @@ "Enhancements:": - "enhancement" template: - "issue": "- {{url}} {{name}}" \ No newline at end of file + "issue": "- {{url}} {{name}}"