Skip to content

Commit

Permalink
Update create-pack.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mullak99 committed Oct 29, 2023
1 parent 0c8a036 commit 3e5dd2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/create-pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
echo "::set-output name=zipname::$filename"
- name: Extract Changelog Entry
run: |
changelog=$(awk '/## \[/{flag=(++i==1)}flag;/## \[/{if(i>=2) exit}' ChangeLog.md)
changelog=$(awk '/## \[/{i++}i==1{if (!f) f=1; else print}i==2{exit}' ChangeLog.md)
echo "CHANGELOG<<EOF" >> $GITHUB_ENV
echo "$changelog" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
Expand Down

0 comments on commit 3e5dd2e

Please sign in to comment.