From 6c72a51416893eb0eebbe63d0f2a0151952cab59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Gr=C3=B6nholm?= Date: Sun, 24 Nov 2024 21:39:56 +0200 Subject: [PATCH] Backported release job from master --- .github/workflows/publish.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7e4ee74d6..e13b6022e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -41,3 +41,19 @@ jobs: uses: actions/download-artifact@v4 - name: Upload packages uses: pypa/gh-action-pypi-publish@release/v1 + + release: + name: Create a GitHub release + needs: build + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - uses: actions/checkout@v4 + - id: changelog + uses: agronholm/release-notes@v1 + with: + path: docs/versionhistory.rst + - uses: ncipollo/release-action@v1 + with: + body: ${{ steps.changelog.outputs.changelog }}