From aaee98cdd0a71792aad5f48a14b52bac93eb7c45 Mon Sep 17 00:00:00 2001 From: Rhyanz46 Date: Fri, 1 Mar 2024 02:52:32 +0800 Subject: [PATCH] update ci/cd --- .github/workflows/go.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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}' +