diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 2974e3f..dfaacc4 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -40,13 +40,13 @@ jobs: current_version: ${{ steps.latest-tag.outputs.tag }} level: patch -# - name: Create Release Notes -# id: create-release -# run: | -# curl -f -X POST \ -# -H "Accept: application/vnd.github.v3+json" \ -# -H "authorization: Bearer ${{ secrets.TOKEN }}" \ -# -H "X-GitHub-Api-Version: 2022-11-28" \ -# https://api.github.com/repos/${{ github.repository }}/releases \ -# -d '{"tag_name":"${{ steps.bump-semver.outputs.new_version }}", "target_commitish": "${{ github.ref_name }}", "generate_release_notes":true}' -# + - name: Create Release Notes + id: create-release + run: | + curl -f -X POST \ + -H "Accept: application/vnd.github.v3+json" \ + -H "authorization: Bearer ${{ secrets.TOKEN }}" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + https://api.github.com/repos/${{ github.repository }}/releases \ + -d '{"tag_name":"${{ steps.bump-semver.outputs.new_version }}", "target_commitish": "${{ github.ref_name }}", "generate_release_notes":true}' +