Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
gzukel committed Nov 7, 2023
1 parent 5a7ce63 commit f9feac1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ 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 "GITHUB_RELEASE_TEXT=${GITHUB_RELEASE_TEXT}" >> ${GITHUB_ENV}
echo -e ${GITHUB_RELEASE_TEXT} > Release.txt
echo "::set-output name=release_notes::${GITHUB_RELEASE_TEXT}"
- name: Set Version from the PR title.
if: github.event_name == 'pull_request'
Expand Down Expand Up @@ -118,7 +116,7 @@ jobs:
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.PAT_GITHUB_SERVICE_ACCT }}
body: ${{ steps.release_notes.outputs.release_notes }}
body_path: Release.txt
tag_name: ${{ env.GITHUB_TAG_MAJOR_VERSION }}

- name: Create GitHub Release Hot Fix
Expand Down

0 comments on commit f9feac1

Please sign in to comment.