We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 208aa16 commit c939634Copy full SHA for c939634
1 file changed
actions/prepare-release/action.yml
@@ -93,7 +93,12 @@ runs:
93
run: |
94
echo 'Update the changelog'
95
if [ ! -f '${{ inputs.changelog_path }}' ]; then touch '${{ inputs.changelog_path }}'; fi
96
- cat <(echo '${{ steps.semantic_release.outputs.new_release_notes }}') <(echo) ${{ inputs.changelog_path }} > /tmp/chlog
+
97
+ cat > /tmp/chlog <<- EOF
98
+ ${{ steps.semantic_release.outputs.new_release_notes }}
99
100
+ $(cat ${{ inputs.changelog_path }})
101
+ EOF
102
mv /tmp/chlog ${{ inputs.changelog_path }}
103
- name: Commit back
104
if: ${{ fromJson(steps.semantic_release.outputs.new_release_published) && fromJson(inputs.commit_back) }}
0 commit comments