Merge pull request #265 from Loup-Garou911XD/main

Fix release workflow failing because of multiline changelog
This commit is contained in:
Vishal 2024-04-22 19:07:19 +05:30 committed by GitHub
commit b907dc1755
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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