From 433037f06ad4a9ff1d78d15821def870dda57893 Mon Sep 17 00:00:00 2001 From: Anto Subash Date: Fri, 27 Mar 2026 00:10:25 +0100 Subject: [PATCH] feat(ci): create GitHub Release with auto-generated notes after publishing --- .github/workflows/release.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ca50e477..5dc84eda 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -157,3 +157,25 @@ jobs: for pkg in packages/SimpleModule.Client packages/SimpleModule.UI packages/SimpleModule.Theme.Default; do (cd "$pkg" && npm version "$VERSION" --no-git-tag-version && npm publish --access public) done + + github-release: + runs-on: ubuntu-latest + needs: [version, publish-nuget, publish-npm] + if: needs.version.outputs.skip != 'true' + permissions: + contents: write + steps: + - uses: actions/checkout@v6 + with: + ref: ${{ needs.version.outputs.sha }} + fetch-depth: 0 + + - name: Create GitHub Release + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + VERSION="${{ needs.version.outputs.version }}" + gh release create "v${VERSION}" \ + --title "v${VERSION}" \ + --generate-notes \ + --verify-tag