Skip to content

Commit

Permalink
Merge pull request #1485 from CastagnaIT/gh_fix_multiline
Browse files Browse the repository at this point in the history
[workflows] Fix multiline for changes var
  • Loading branch information
CastagnaIT authored Feb 20, 2024
2 parents abe8545 + d4698b3 commit 64f486e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/changelog-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ jobs:
then
changes=$(xmlstarlet fo -R "$(find . -name addon.xml.in)" | xmlstarlet sel -t -v 'string(/addon/extension/news)' | awk -v RS= 'NR==1')
fi
echo "changes=$changes" >> $GITHUB_OUTPUT
echo "changes=<<EOF" >> $GITHUB_OUTPUT
echo "$changes" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
version=$(xmlstarlet fo -R "$(find . -name addon.xml.in)" | xmlstarlet sel -t -v 'string(/addon/@version)')
echo "version=$version" >> $GITHUB_OUTPUT
branch=$(echo ${GITHUB_REF#refs/heads/})
Expand Down

0 comments on commit 64f486e

Please sign in to comment.