Skip to content

Commit b1d0a48

Browse files
Generate release notes automatically.
1 parent 76b46e9 commit b1d0a48

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/publish-to-pypi.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ jobs:
6161
env:
6262
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6363
RELEASE_NAME: ${{ github.ref }}
64-
NOTES: "Test Release"
65-
run: gh release create $RELEASE_NAME --repo $GITHUB_REPO --notes $NOTES
64+
run: gh release create $RELEASE_NAME --repo $GITHUB_REPO --generate-notes
6665

6766
- name: Upload GitHub Release
6867
env:

.github/workflows/publish-to-testpypi.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ jobs:
6363
env:
6464
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6565
RELEASE_NAME: ${{ steps.create_release_name.outputs.RELEASE_NAME }}
66-
NOTES: "Test Release"
67-
run: gh release create $RELEASE_NAME --repo $GITHUB_REPO --notes $NOTES
66+
run: gh release create $RELEASE_NAME --repo $GITHUB_REPO --prerelease --generate-notes
6867

6968
- name: Upload GitHub Release
7069
env:

0 commit comments

Comments
 (0)