Skip to content

Commit 06e0902

Browse files
Attempt to fix release notes again (#493)
Co-authored-by: Shane Osbourne <[email protected]>
1 parent 62e4589 commit 06e0902

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,18 @@ jobs:
4444

4545
- name: Collect commit ranges
4646
run: |
47-
echo "CHANGELOG=$(git log main --since "$(git show -s --format=%ci $(git rev-list --tags --max-count=1))" --pretty='format:- %s')" >> $GITHUB_OUTPUT
47+
CHANGELOG="$(git log main --since "$(git show -s --format=%ci $(git rev-list --tags --max-count=1))" --pretty='format:- %s')"
48+
DELIMITER=$(echo $RANDOM | md5sum | head -c 20;)
49+
echo "CHANGELOG<<$DELIMITER" >> $GITHUB_ENV
50+
echo "$CHANGELOG" >> $GITHUB_ENV
51+
echo "$DELIMITER" >> $GITHUB_ENV
4852
4953
- name: Create Release
5054
uses: softprops/action-gh-release@v1
5155
env:
5256
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5357
with:
54-
body_path: ${{ steps.version.outputs.CHANGELOG }}
58+
body_path: ${{ env.CHANGELOG }}
5559
draft: false
5660
prerelease: false
5761
tag_name: ${{ github.event.inputs.version }}

0 commit comments

Comments
 (0)