mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-22 03:43:30 +01:00
try fixing the changelog echo
This commit is contained in:
parent
a20b857727
commit
f3c7f87733
1 changed files with 7 additions and 2 deletions
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
|
@ -22,8 +22,13 @@ jobs:
|
||||||
- name: Grab Changelog from Commit Message Body
|
- name: Grab Changelog from Commit Message Body
|
||||||
run: |
|
run: |
|
||||||
changelog=$(echo -e "$MESSAGE" | sed -n '/^$/,$p' | sed '1d')
|
changelog=$(echo -e "$MESSAGE" | sed -n '/^$/,$p' | sed '1d')
|
||||||
echo $changelog
|
echo -e "$changelog"
|
||||||
echo "CHANGELOG=$changelog" >> $GITHUB_ENV
|
{
|
||||||
|
echo 'CHANGELOG<<EOF'
|
||||||
|
echo -e "$changelog"
|
||||||
|
echo EOF
|
||||||
|
} >> "$GITHUB_ENV"
|
||||||
|
echo -e "CHANGELOG=$changelog" >> $GITHUB_ENV
|
||||||
env:
|
env:
|
||||||
MESSAGE: ${{ github.event.head_commit.message }}
|
MESSAGE: ${{ github.event.head_commit.message }}
|
||||||
- name: Release
|
- name: Release
|
||||||
|
|
Loading…
Reference in a new issue