diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..84410c3 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,19 @@ +# .github/release.yml + +changelog: + exclude: + labels: + - ignore-for-release + authors: + - octocat + categories: + - title: Code + labels: + - python + - enhancement + - title: Documentation + labels: + - documentation + - title: Other Changes + labels: + - "*" diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 294cc73..11c3670 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -80,7 +80,8 @@ jobs: gh release create '${{ github.ref_name }}' --repo '${{ github.repository }}' - --notes "" + --title 'v${{ github.ref_name }}' + --generate-notes - name: Upload artifact signatures to GitHub Release env: GITHUB_TOKEN: ${{ github.token }} @@ -90,8 +91,6 @@ jobs: run: >- gh release upload '${{ github.ref_name }}' dist/** - --title 'v${{ github.ref_name }}' - --generate-notes --repo '${{ github.repository }}' publish-to-testpypi: