From e1742a3f98fed231880b3563ed10a344e9a2a428 Mon Sep 17 00:00:00 2001
From: Abhinay Agarwal <abhinay.agarwal@gluonhq.com>
Date: Fri, 19 Jul 2024 14:39:29 +0530
Subject: [PATCH] add release notes job to release workflow

---
 .github/workflows/release.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 4e509ff3..7ccbbbe7 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -72,3 +72,12 @@ jobs:
           git push https://gluon-bot:$PAT@github.com/$GITHUB_REPOSITORY HEAD:master
         env:
           PAT: ${{ secrets.GITHUB_TOKEN }}
+
+  release-notes:
+    runs-on: ubuntu-latest
+    needs: [build]
+    steps:
+      - name: Create GitHub release
+        uses: softprops/action-gh-release@v2
+        with:
+          generate_release_notes: true