Skip to content

Commit

Permalink
Update create-release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
alicela authored Apr 3, 2024
1 parent 83eb78a commit dd9f986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
FILE_PATH='CHANGELOG.md'
TITLE1="$(sed -n '/^## [0-9]/{p;}' $FILE_PATH | awk 'NR==1' | sed 's/\[/\\[/g; s/\]/\\]/g')"
TITLE2="$(sed -n '/^## [0-9]/{p;}' $FILE_PATH | awk 'NR==2' | sed 's/\[/\\[/g; s/\]/\\]/g')"
changes=$(sed -n '/^${TITLE1}/,/^${TITLE2}/{//!p}' $FILE_PATH)
changes="$(sed -n '/^${TITLE1}/,/^${TITLE2}/{//!p}' $FILE_PATH)"
echo "TITLE1=${TITLE1}" >> $GITHUB_OUTPUT
echo "changes" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit dd9f986

Please sign in to comment.