Skip to content

Commit

Permalink
Fix release workflow failing because of multiline changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Loup-Garou911XD committed Apr 22, 2024
1 parent e2c0fab commit 8d1a55f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ jobs:
- name: set_variables
run: |
output1=$(python3 test/get_latest.py)
output2=$(python3 test/get_changes.py "$output1")
{
echo "changelog<<EOF"
python3 test/get_changes.py "$(python3 test/get_latest.py)"
echo EOF
} >> "$GITHUB_OUTPUT"
output3=$(python3 test/version_is_lower.py ${{ steps.previoustag.outputs.tag }})
echo "latestVersion=$output1" >> $GITHUB_OUTPUT
echo "changelog=$output2" >> $GITHUB_OUTPUT
echo "shouldRun=$output3" >> $GITHUB_OUTPUT
id: set_variables

Expand Down

0 comments on commit 8d1a55f

Please sign in to comment.