From 851b4b08a13f0b6ff404d1af79945e6e53a6c17b Mon Sep 17 00:00:00 2001
From: Patrick Evers
Date: Sat, 24 Jan 2026 00:31:09 +0100
Subject: [PATCH] Updates release workflow
Simplifies the release workflow by using a dedicated action for creating releases and generating release notes.
This reduces complexity and improves maintainability.
The workflow now automatically generates release notes and uploads the nupkg packages.
---
.github/workflows/build-publish.yml | 17 +++--------------
1 file changed, 3 insertions(+), 14 deletions(-)
diff --git a/.github/workflows/build-publish.yml b/.github/workflows/build-publish.yml
index c725c85..d3c7acf 100644
--- a/.github/workflows/build-publish.yml
+++ b/.github/workflows/build-publish.yml
@@ -58,23 +58,12 @@ jobs:
name: nupkg
path: packages/*.nupkg
- - name: Create release notes
- uses: johnyherangi/create-release-notes@main
- if: startsWith(github.ref, 'refs/tags/')
- id: create-release-notes
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
- name: Create Release
if: startsWith(github.ref, 'refs/tags/')
- id: create_release
- uses: actions/create-release@v1
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ uses: softprops/action-gh-release@v2
with:
- tag_name: ${{ github.ref }}
- release_name: Release ${{ github.ref }}
- body: ${{ steps.create-release-notes.outputs.release-notes }}
+ generate_release_notes: true
+ files: packages/*.nupkg
draft: false
prerelease: false