File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -191,17 +191,19 @@ jobs:
191191 if : ' !inputs.dry-run && steps.check_release.outputs.exists == '' true'' && inputs.docker-enabled'
192192 run : |
193193 echo "Release already exists, updating with Docker image information"
194- BODY="## Release v${{ steps.get_version.outputs.version }}
195-
196- # ## Changes
197- - See commit history for changes
198-
199- # ## Docker Image
200- Docker image available at : \`${{ secrets.ACR_URL }}/${{ inputs.docker-image-name }}:${{ steps.get_version.outputs.version }}\`"
194+ cat > release-notes.md << EOF
195+ ## Release v${{ steps.get_version.outputs.version }}
196+
197+ ### Changes
198+ - See commit history for changes
199+
200+ ### Docker Image
201+ Docker image available at: \`${{ secrets.ACR_URL }}/${{ inputs.docker-image-name }}:${{ steps.get_version.outputs.version }}\`
202+ EOF
201203
202204 gh release edit "v${{ steps.get_version.outputs.version }}" \
203205 --repo ${{ inputs.repository }} \
204- --notes "$BODY"
206+ --notes-file release-notes.md
205207 env :
206208 GH_TOKEN : ${{ secrets.GH_PAT }}
207209
You can’t perform that action at this time.
0 commit comments