Skip to content

Commit

Permalink
Merge pull request #265 from Loup-Garou911XD/main
Browse files Browse the repository at this point in the history
Fix release workflow failing because of multiline changelog
  • Loading branch information
vishal332008 authored Apr 22, 2024
2 parents e2c0fab + 8d1a55f commit b907dc1
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 b907dc1

Please sign in to comment.