From f3478fce2c3410036ae06ec461c4501b94d5fd62 Mon Sep 17 00:00:00 2001 From: gizmo385 Date: Sat, 21 Dec 2024 09:00:12 +0000 Subject: [PATCH] Also create a release from the new tag --- .github/workflows/publish.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 5c6f0ba..3b2b98e 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -47,6 +47,11 @@ jobs: ref: 'refs/tags/v${{ needs.pypi-publish.outputs.new-version }}', sha: context.sha }) + github.rest.git.createRelease({ + owner: context.repo.owner, + repo: context.repo.repo, + tag_name: 'v${{ needs.pypi-publish.outputs.new-version }}', + }) notify-discord: name: Notify when this workflow completes (regardless of success or failure)