diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0f581aa53..83c76aa07 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -275,3 +275,8 @@ jobs: user: __token__ password: ${{ secrets.pypi_token }} if: ${{ startsWith(github.ref, 'refs/tags/v') }} + - uses: actions/checkout@v3 + if: ${{ startsWith(github.ref, 'refs/tags/v') }} + - name: Create a Github Release + if: ${{ startsWith(github.ref, 'refs/tags/v') }} + run: gh release create ${{ github.ref_name }} --generate-notes