Skip to content

Commit

Permalink
chore: skip if there are no changes
Browse files Browse the repository at this point in the history
  • Loading branch information
isidentical committed Dec 7, 2022
1 parent a73d969 commit 2e5deba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
id: release
shell: bash
run: |
r=$(cat ${{ steps.git-cliff.outputs.changelog }})
[[ -f ${{ steps.git-cliff.outputs.changelog }} ]] && r=$(< ${{ steps.git-cliff.outputs.changelog }}) || r=''
r="${r//'%'/'%25'}" # Multiline escape sequences for %
r="${r//$'\n'/'%0A'}" # Multiline escape sequences for '\n'
r="${r//$'\r'/'%0D'}" # Multiline escape sequences for '\r'
Expand Down

0 comments on commit 2e5deba

Please sign in to comment.