diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index e620540169..46d970d3e6 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -62,7 +62,8 @@ jobs: id: release_notes run: | GITHUB_RELEASE_TEXT=$(curl --location --request GET ${{ github.event.pull_request.url }} --header 'Authorization: token ${{ secrets.GITHUB_TOKEN }}' | jq .body) - echo -e ${GITHUB_RELEASE_TEXT} > Release.txt + echo -e ${GITHUB_RELEASE_TEXT} > ./Release.txt + cat ./Release.txt - name: Set Version from the PR title. if: github.event_name == 'pull_request' @@ -116,7 +117,7 @@ jobs: uses: softprops/action-gh-release@v1 with: token: ${{ secrets.PAT_GITHUB_SERVICE_ACCT }} - body_path: Release.txt + body_path: ./Release.txt tag_name: ${{ env.GITHUB_TAG_MAJOR_VERSION }} - name: Create GitHub Release Hot Fix